diff options
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmsmac/rate.h')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/rate.h | 48 |
1 files changed, 22 insertions, 26 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/rate.h b/drivers/net/wireless/brcm80211/brcmsmac/rate.h index 980d578825cc..5bb88b78ed64 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/rate.h +++ b/drivers/net/wireless/brcm80211/brcmsmac/rate.h | |||
@@ -216,34 +216,30 @@ static inline u8 cck_phy2mac_rate(u8 signal) | |||
216 | 216 | ||
217 | /* sanitize, and sort a rateset with the basic bit(s) preserved, validate | 217 | /* sanitize, and sort a rateset with the basic bit(s) preserved, validate |
218 | * rateset */ | 218 | * rateset */ |
219 | extern bool | 219 | bool brcms_c_rate_hwrs_filter_sort_validate(struct brcms_c_rateset *rs, |
220 | brcms_c_rate_hwrs_filter_sort_validate(struct brcms_c_rateset *rs, | 220 | const struct brcms_c_rateset *hw_rs, |
221 | const struct brcms_c_rateset *hw_rs, | 221 | bool check_brate, u8 txstreams); |
222 | bool check_brate, u8 txstreams); | ||
223 | /* copy rateset src to dst as-is (no masking or sorting) */ | 222 | /* copy rateset src to dst as-is (no masking or sorting) */ |
224 | extern void brcms_c_rateset_copy(const struct brcms_c_rateset *src, | 223 | void brcms_c_rateset_copy(const struct brcms_c_rateset *src, |
225 | struct brcms_c_rateset *dst); | 224 | struct brcms_c_rateset *dst); |
226 | 225 | ||
227 | /* would be nice to have these documented ... */ | 226 | /* would be nice to have these documented ... */ |
228 | extern u32 brcms_c_compute_rspec(struct d11rxhdr *rxh, u8 *plcp); | 227 | u32 brcms_c_compute_rspec(struct d11rxhdr *rxh, u8 *plcp); |
229 | 228 | ||
230 | extern void brcms_c_rateset_filter(struct brcms_c_rateset *src, | 229 | void brcms_c_rateset_filter(struct brcms_c_rateset *src, |
231 | struct brcms_c_rateset *dst, bool basic_only, u8 rates, uint xmask, | 230 | struct brcms_c_rateset *dst, bool basic_only, |
232 | bool mcsallow); | 231 | u8 rates, uint xmask, bool mcsallow); |
233 | 232 | ||
234 | extern void | 233 | void brcms_c_rateset_default(struct brcms_c_rateset *rs_tgt, |
235 | brcms_c_rateset_default(struct brcms_c_rateset *rs_tgt, | 234 | const struct brcms_c_rateset *rs_hw, uint phy_type, |
236 | const struct brcms_c_rateset *rs_hw, uint phy_type, | 235 | int bandtype, bool cck_only, uint rate_mask, |
237 | int bandtype, bool cck_only, uint rate_mask, | 236 | bool mcsallow, u8 bw, u8 txstreams); |
238 | bool mcsallow, u8 bw, u8 txstreams); | 237 | |
239 | 238 | s16 brcms_c_rate_legacy_phyctl(uint rate); | |
240 | extern s16 brcms_c_rate_legacy_phyctl(uint rate); | 239 | |
241 | 240 | void brcms_c_rateset_mcs_upd(struct brcms_c_rateset *rs, u8 txstreams); | |
242 | extern void brcms_c_rateset_mcs_upd(struct brcms_c_rateset *rs, u8 txstreams); | 241 | void brcms_c_rateset_mcs_clear(struct brcms_c_rateset *rateset); |
243 | extern void brcms_c_rateset_mcs_clear(struct brcms_c_rateset *rateset); | 242 | void brcms_c_rateset_mcs_build(struct brcms_c_rateset *rateset, u8 txstreams); |
244 | extern void brcms_c_rateset_mcs_build(struct brcms_c_rateset *rateset, | 243 | void brcms_c_rateset_bw_mcs_filter(struct brcms_c_rateset *rateset, u8 bw); |
245 | u8 txstreams); | ||
246 | extern void brcms_c_rateset_bw_mcs_filter(struct brcms_c_rateset *rateset, | ||
247 | u8 bw); | ||
248 | 244 | ||
249 | #endif /* _BRCM_RATE_H_ */ | 245 | #endif /* _BRCM_RATE_H_ */ |