> +static u32 airtime_link_metric_get(struct ieee80211_local *local, > + struct sta_info *sta) > +{ > + struct ieee80211_supported_band *sband; > + /* This should be adjusted for each device */ > + int device_constant = 1 << ARITH_SHIFT; > + int test_frame_len = TEST_FRAME_LEN << ARITH_SHIFT; > + int s_unit = 1 << ARITH_SHIFT; For each device as in the peer or in the hardware we run on? Would this need a new entry in struct ieee80211_hw? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part