| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | bcmwifi_channels.h | 146 #define CHSPEC_WLCBANDUNIT(chspec) (CHSPEC_IS5G(chspec) ? BAND_5G_INDEX : BAND_2G_INDEX) argument 165 #define CHSPEC_CHANNEL(chspec) wf_chspec_channel(chspec) argument 167 #define CHSPEC_CHANNEL(chspec) ((uint8)((chspec) & WL_CHANSPEC_CHAN_MASK)) argument 169 #define CHSPEC_CHAN1(chspec) ((chspec) & WL_CHANSPEC_CHAN1_MASK) >> WL_CHANSPEC_CHAN1_SHIFT argument 170 #define CHSPEC_CHAN2(chspec) ((chspec) & WL_CHANSPEC_CHAN2_MASK) >> WL_CHANSPEC_CHAN2_SHIFT argument 171 #define CHSPEC_BAND(chspec) ((chspec) & WL_CHANSPEC_BAND_MASK) argument 172 #define CHSPEC_CTL_SB(chspec) ((chspec) & WL_CHANSPEC_CTL_SB_MASK) argument 173 #define CHSPEC_BW(chspec) ((chspec) & WL_CHANSPEC_BW_MASK) argument 176 #define CHSPEC_IS20(chspec) 1 argument 177 #define CHSPEC_IS20_2G(chspec) ((((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_20) && \ argument [all …]
|
| H A D | bcmwifi_channels.c | 238 wf_bw_chspec_to_mhz(chanspec_t chspec) in wf_bw_chspec_to_mhz() 320 wf_chspec_ntoa_ex(chanspec_t chspec, char *buf) in wf_chspec_ntoa_ex() 333 wf_chspec_ntoa(chanspec_t chspec, char *buf) in wf_chspec_ntoa() 419 chanspec_t chspec; in wf_chspec_aton_ex() local 874 chanspec_t chspec; in wf_create_20MHz_chspec() local 902 wf_chspec_primary20_chan(chanspec_t chspec) in wf_chspec_primary20_chan() 947 wf_chspec_primary20_chspec(chanspec_t chspec) in wf_chspec_primary20_chspec() 969 uint16 chspec; in wf_channel2chspec() local 1020 extern chanspec_t wf_chspec_primary40_chspec(chanspec_t chspec) in wf_chspec_primary40_chspec() 1299 wf_chspec_primary80_chspec(chanspec_t chspec) in wf_chspec_primary80_chspec() [all …]
|
| H A D | bcm_app_utils.c | 118 spec_to_chan(chanspec_t chspec) in spec_to_chan()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | bcmwifi_channels.h | 146 #define CHSPEC_WLCBANDUNIT(chspec) (CHSPEC_IS5G(chspec) ? BAND_5G_INDEX : BAND_2G_INDEX) argument 165 #define CHSPEC_CHANNEL(chspec) wf_chspec_channel(chspec) argument 167 #define CHSPEC_CHANNEL(chspec) ((uint8)((chspec) & WL_CHANSPEC_CHAN_MASK)) argument 169 #define CHSPEC_CHAN1(chspec) ((chspec) & WL_CHANSPEC_CHAN1_MASK) >> WL_CHANSPEC_CHAN1_SHIFT argument 170 #define CHSPEC_CHAN2(chspec) ((chspec) & WL_CHANSPEC_CHAN2_MASK) >> WL_CHANSPEC_CHAN2_SHIFT argument 171 #define CHSPEC_BAND(chspec) ((chspec) & WL_CHANSPEC_BAND_MASK) argument 172 #define CHSPEC_CTL_SB(chspec) ((chspec) & WL_CHANSPEC_CTL_SB_MASK) argument 173 #define CHSPEC_BW(chspec) ((chspec) & WL_CHANSPEC_BW_MASK) argument 176 #define CHSPEC_IS20(chspec) 1 argument 177 #define CHSPEC_IS20_2G(chspec) ((((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_20) && \ argument [all …]
|
| H A D | bcmwifi_channels.c | 238 wf_bw_chspec_to_mhz(chanspec_t chspec) in wf_bw_chspec_to_mhz() 320 wf_chspec_ntoa_ex(chanspec_t chspec, char *buf) in wf_chspec_ntoa_ex() 333 wf_chspec_ntoa(chanspec_t chspec, char *buf) in wf_chspec_ntoa() 419 chanspec_t chspec; in wf_chspec_aton_ex() local 874 chanspec_t chspec; in wf_create_20MHz_chspec() local 902 wf_chspec_primary20_chan(chanspec_t chspec) in wf_chspec_primary20_chan() 947 wf_chspec_primary20_chspec(chanspec_t chspec) in wf_chspec_primary20_chspec() 969 uint16 chspec; in wf_channel2chspec() local 1020 extern chanspec_t wf_chspec_primary40_chspec(chanspec_t chspec) in wf_chspec_primary40_chspec() 1299 wf_chspec_primary80_chspec(chanspec_t chspec) in wf_chspec_primary80_chspec() [all …]
|
| H A D | bcm_app_utils.c | 118 spec_to_chan(chanspec_t chspec) in spec_to_chan()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | bcmwifi_channels.h | 143 #define CHSPEC_WLCBANDUNIT(chspec) (CHSPEC_IS5G(chspec) ? BAND_5G_INDEX : BAND_2G_INDEX) argument 162 #define CHSPEC_CHANNEL(chspec) wf_chspec_channel(chspec) argument 164 #define CHSPEC_CHANNEL(chspec) ((uint8)((chspec) & WL_CHANSPEC_CHAN_MASK)) argument 166 #define CHSPEC_CHAN1(chspec) ((chspec) & WL_CHANSPEC_CHAN1_MASK) >> WL_CHANSPEC_CHAN1_SHIFT argument 167 #define CHSPEC_CHAN2(chspec) ((chspec) & WL_CHANSPEC_CHAN2_MASK) >> WL_CHANSPEC_CHAN2_SHIFT argument 168 #define CHSPEC_BAND(chspec) ((chspec) & WL_CHANSPEC_BAND_MASK) argument 169 #define CHSPEC_CTL_SB(chspec) ((chspec) & WL_CHANSPEC_CTL_SB_MASK) argument 170 #define CHSPEC_BW(chspec) ((chspec) & WL_CHANSPEC_BW_MASK) argument 173 #define CHSPEC_IS20(chspec) 1 argument 174 #define CHSPEC_IS20_2G(chspec) ((((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_20) && \ argument [all …]
|
| H A D | bcmwifi_channels.c | 209 wf_bw_chspec_to_mhz(chanspec_t chspec) in wf_bw_chspec_to_mhz() 291 wf_chspec_ntoa_ex(chanspec_t chspec, char *buf) in wf_chspec_ntoa_ex() 304 wf_chspec_ntoa(chanspec_t chspec, char *buf) in wf_chspec_ntoa() 390 chanspec_t chspec; in wf_chspec_aton_ex() local 825 chanspec_t chspec; in wf_create_20MHz_chspec() local 853 wf_chspec_primary20_chan(chanspec_t chspec) in wf_chspec_primary20_chan() 898 wf_chspec_primary20_chspec(chanspec_t chspec) in wf_chspec_primary20_chspec() 920 uint16 chspec; in wf_channel2chspec() local 971 extern chanspec_t wf_chspec_primary40_chspec(chanspec_t chspec) in wf_chspec_primary40_chspec() 1250 wf_chspec_primary80_chspec(chanspec_t chspec) in wf_chspec_primary80_chspec() [all …]
|
| H A D | bcm_app_utils.c | 118 spec_to_chan(chanspec_t chspec) in spec_to_chan()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | bcmwifi_channels.h | 137 #define CHSPEC_WLCBANDUNIT(chspec) (CHSPEC_IS5G(chspec) ? BAND_5G_INDEX : BAND_2G_INDEX) argument 168 #define CHSPEC_CHANNEL(chspec) wf_chspec_channel(chspec) argument 170 #define CHSPEC_CHANNEL(chspec) ((uint8)((chspec) & WL_CHANSPEC_CHAN_MASK)) argument 172 #define CHSPEC_CHAN1(chspec) ((chspec) & WL_CHANSPEC_CHAN1_MASK) >> WL_CHANSPEC_CHAN1_SHIFT argument 173 #define CHSPEC_CHAN2(chspec) ((chspec) & WL_CHANSPEC_CHAN2_MASK) >> WL_CHANSPEC_CHAN2_SHIFT argument 174 #define CHSPEC_BAND(chspec) ((chspec) & WL_CHANSPEC_BAND_MASK) argument 175 #define CHSPEC_CTL_SB(chspec) ((chspec) & WL_CHANSPEC_CTL_SB_MASK) argument 176 #define CHSPEC_BW(chspec) ((chspec) & WL_CHANSPEC_BW_MASK) argument 180 #define CHSPEC_IS2P5(chspec) (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_2P5) argument 181 #define CHSPEC_IS5(chspec) (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_5) argument [all …]
|
| H A D | bcmwifi_channels.c | 203 bw_chspec_to_mhz(chanspec_t chspec) in bw_chspec_to_mhz() 285 wf_chspec_ntoa_ex(chanspec_t chspec, char *buf) in wf_chspec_ntoa_ex() 298 wf_chspec_ntoa(chanspec_t chspec, char *buf) in wf_chspec_ntoa() 383 chanspec_t chspec; in wf_chspec_aton() local 793 wf_chspec_ctlchan(chanspec_t chspec) in wf_chspec_ctlchan() 829 wf_chspec_to_bw_str(chanspec_t chspec) in wf_chspec_to_bw_str() 838 wf_chspec_ctlchspec(chanspec_t chspec) in wf_chspec_ctlchspec() 860 uint16 chspec; in wf_channel2chspec() local 911 extern chanspec_t wf_chspec_primary40_chspec(chanspec_t chspec) in wf_chspec_primary40_chspec() 1236 wf_chspec_primary80_chspec(chanspec_t chspec) in wf_chspec_primary80_chspec() [all …]
|
| H A D | bcm_app_utils.c | 117 spec_to_chan(chanspec_t chspec) in spec_to_chan()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | bcmwifi_channels.h | 159 #define WL_CHSPEC_BW(chspec) ((chspec & WL_CHANSPEC_BW_MASK) >> WL_CHANSPEC_BW_SHIFT) argument 182 #define CHSPEC_WLCBANDUNIT(chspec) \ argument 200 #define CHSPEC_CHANNEL(chspec) ((uint8)((chspec) & WL_CHANSPEC_CHAN_MASK)) argument 201 #define CHSPEC_CHAN0(chspec) (((chspec) & WL_CHANSPEC_CHAN0_MASK) >> WL_CHANSPEC_CHAN0_SHIFT) argument 202 #define CHSPEC_CHAN1(chspec) (((chspec) & WL_CHANSPEC_CHAN1_MASK) >> WL_CHANSPEC_CHAN1_SHIFT) argument 203 #define CHSPEC_BAND(chspec) ((chspec) & WL_CHANSPEC_BAND_MASK) argument 204 #define CHSPEC_CTL_SB(chspec) ((chspec) & WL_CHANSPEC_CTL_SB_MASK) argument 205 #define CHSPEC_BW(chspec) ((chspec) & WL_CHANSPEC_BW_MASK) argument 206 #define CHSPEC_GE240_CHAN(chspec) (((chspec) & WL_CHANSPEC_GE240_CHAN_MASK) >> \ argument 208 #define CHSPEC_GE240_SB(chspec) ((chspec) & WL_CHANSPEC_GE240_SB_MASK) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | bcmwifi_channels.h | 159 #define WL_CHSPEC_BW(chspec) ((chspec & WL_CHANSPEC_BW_MASK) >> WL_CHANSPEC_BW_SHIFT) argument 182 #define CHSPEC_WLCBANDUNIT(chspec) \ argument 200 #define CHSPEC_CHANNEL(chspec) ((uint8)((chspec) & WL_CHANSPEC_CHAN_MASK)) argument 201 #define CHSPEC_CHAN0(chspec) (((chspec) & WL_CHANSPEC_CHAN0_MASK) >> WL_CHANSPEC_CHAN0_SHIFT) argument 202 #define CHSPEC_CHAN1(chspec) (((chspec) & WL_CHANSPEC_CHAN1_MASK) >> WL_CHANSPEC_CHAN1_SHIFT) argument 203 #define CHSPEC_BAND(chspec) ((chspec) & WL_CHANSPEC_BAND_MASK) argument 204 #define CHSPEC_CTL_SB(chspec) ((chspec) & WL_CHANSPEC_CTL_SB_MASK) argument 205 #define CHSPEC_BW(chspec) ((chspec) & WL_CHANSPEC_BW_MASK) argument 206 #define CHSPEC_GE240_CHAN(chspec) (((chspec) & WL_CHANSPEC_GE240_CHAN_MASK) >> \ argument 208 #define CHSPEC_GE240_SB(chspec) ((chspec) & WL_CHANSPEC_GE240_SB_MASK) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/include/ |
| H A D | brcmu_wifi.h | 97 #define CHSPEC_CHANNEL(chspec) ((u8)((chspec) & WL_CHANSPEC_CHAN_MASK)) argument 98 #define CHSPEC_BAND(chspec) ((chspec) & WL_CHANSPEC_BAND_MASK) argument 100 #define CHSPEC_CTL_SB(chspec) ((chspec) & WL_CHANSPEC_CTL_SB_MASK) argument 101 #define CHSPEC_BW(chspec) ((chspec) & WL_CHANSPEC_BW_MASK) argument 103 #define CHSPEC_IS10(chspec) \ argument 106 #define CHSPEC_IS20(chspec) \ argument 109 #define CHSPEC_IS40(chspec) \ argument 112 #define CHSPEC_IS80(chspec) \ argument 115 #define CHSPEC_IS5G(chspec) \ argument 118 #define CHSPEC_IS2G(chspec) \ argument [all …]
|
| H A D | brcmu_d11.h | 131 u16 chspec; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | bcmwifi_channels.c | 204 wf_bw_chspec_to_mhz(chanspec_t chspec) in wf_bw_chspec_to_mhz() 475 wf_chspec_ntoa_ex(chanspec_t chspec, char *buf) in wf_chspec_ntoa_ex() 499 wf_chspec_ntoa(chanspec_t chspec, char *buf) in wf_chspec_ntoa() 594 chanspec_t chspec; in wf_chspec_aton() local 1003 chanspec_t chspec; in wf_chanspec_iter_firstchan() local 1046 wf_chanspec_iter_next(wf_chanspec_iter_t *iter, chanspec_t *chspec) in wf_chanspec_iter_next() 1118 chanspec_t chspec = iter->chanspec; in wf_chanspec_iter_next_2g() local 1167 chanspec_t chspec = iter->chanspec; in wf_chanspec_iter_next_5g() local 1286 chanspec_t chspec = iter->chanspec; in wf_chanspec_iter_next_6g() local 1596 chanspec_t chspec; in wf_create_20MHz_chspec() local [all …]
|
| H A D | wl_android_ext.h | 181 #define CHSPEC2BANDSTR(chspec) ((chspec && CHSPEC_IS2G(chspec)) ? "2g" : CHSPEC_IS5G(chspec) ? \ argument 186 #define CHSPEC2BANDSTR(chspec) ((chspec && CHSPEC_IS2G(chspec)) ? "2g" : CHSPEC_IS5G(chspec) ? \ argument
|
| H A D | bcm_app_utils.c | 110 spec_to_chan(chanspec_t chspec) in spec_to_chan()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | bcmwifi_channels.c | 204 wf_bw_chspec_to_mhz(chanspec_t chspec) in wf_bw_chspec_to_mhz() 475 wf_chspec_ntoa_ex(chanspec_t chspec, char *buf) in wf_chspec_ntoa_ex() 499 wf_chspec_ntoa(chanspec_t chspec, char *buf) in wf_chspec_ntoa() 594 chanspec_t chspec; in wf_chspec_aton() local 1003 chanspec_t chspec; in wf_chanspec_iter_firstchan() local 1046 wf_chanspec_iter_next(wf_chanspec_iter_t *iter, chanspec_t *chspec) in wf_chanspec_iter_next() 1118 chanspec_t chspec = iter->chanspec; in wf_chanspec_iter_next_2g() local 1167 chanspec_t chspec = iter->chanspec; in wf_chanspec_iter_next_5g() local 1286 chanspec_t chspec = iter->chanspec; in wf_chanspec_iter_next_6g() local 1596 chanspec_t chspec; in wf_create_20MHz_chspec() local [all …]
|
| H A D | wl_android_ext.h | 185 #define CHSPEC2BANDSTR(chspec) (CHSPEC_IS2G(chspec) ? "2g" : CHSPEC_IS5G(chspec) ? \ argument 190 #define CHSPEC2BANDSTR(chspec) (CHSPEC_IS2G(chspec) ? "2g" : CHSPEC_IS5G(chspec) ? \ argument
|
| H A D | bcmwpa.c | 1149 wpa_add_oci_encap(chanspec_t chspec, uint8* buf, uint buf_len) in wpa_add_oci_encap() 1183 wpa_add_oci_ie(chanspec_t chspec, uint8* buf, uint buf_len) in wpa_add_oci_ie() 1206 wpa_add_oci_ft_subelem(chanspec_t chspec, uint8* buf, uint buf_len) in wpa_add_oci_ft_subelem() 1228 int wpa_validate_oci_encap(chanspec_t chspec, const uint8* buf, uint buf_len) in wpa_validate_oci_encap() 1249 int wpa_validate_oci_ie(chanspec_t chspec, const uint8* buf, uint buf_len) in wpa_validate_oci_ie() 1271 int wpa_validate_oci_ft_subelem(chanspec_t chspec, const uint8* buf, uint buf_len) in wpa_validate_oci_ft_subelem()
|
| H A D | bcm_app_utils.c | 110 spec_to_chan(chanspec_t chspec) in spec_to_chan()
|
| H A D | wl_roam.c | 512 chanspec_t chspec = chanlist_before.channels[i]; in wl_update_roamscan_cache_by_band() local
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | channel.c | 602 brcms_c_valid_chanspec_ext(struct brcms_cm_info *wlc_cm, u16 chspec) in brcms_c_valid_chanspec_ext() 621 bool brcms_c_valid_chanspec_db(struct brcms_cm_info *wlc_cm, u16 chspec) in brcms_c_valid_chanspec_db()
|