| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | bcmwifi_channels.h | 30 typedef uint16 chanspec_t; typedef 185 #define CH20MHZ_CHSPEC(channel) (chanspec_t)((chanspec_t)(channel) | WL_CHANSPEC_BW_20 | \ 189 #define CH40MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 192 #define CH80MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 195 #define CH160MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 246 uint wf_chspec_first_20_sb(chanspec_t chspec); 335 chanspec_t chspec_local = chspec; \ 392 extern bool wf_chspec_coexist(chanspec_t chspec1, chanspec_t chspec2); 445 (chanspec_t)((chanspec_t)(channel) | WL_LCHANSPEC_BW_20 | \ 493 uint wf_bw_chspec_to_mhz(chanspec_t chspec); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | bcmwifi_channels.h | 30 typedef uint16 chanspec_t; typedef 185 #define CH20MHZ_CHSPEC(channel) (chanspec_t)((chanspec_t)(channel) | WL_CHANSPEC_BW_20 | \ 189 #define CH40MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 192 #define CH80MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 195 #define CH160MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 246 uint wf_chspec_first_20_sb(chanspec_t chspec); 335 chanspec_t chspec_local = chspec; \ 392 extern bool wf_chspec_coexist(chanspec_t chspec1, chanspec_t chspec2); 445 (chanspec_t)((chanspec_t)(channel) | WL_LCHANSPEC_BW_20 | \ 493 uint wf_bw_chspec_to_mhz(chanspec_t chspec); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | bcmwifi_channels.h | 38 typedef uint16 chanspec_t; typedef 138 #define CH20MHZ_CHSPEC(channel) (chanspec_t)((chanspec_t)(channel) | WL_CHANSPEC_BW_20 | \ 141 #define CH2P5MHZ_CHSPEC(channel) (chanspec_t)((chanspec_t)(channel) | WL_CHANSPEC_BW_2P5 | \ 144 #define CH5MHZ_CHSPEC(channel) (chanspec_t)((chanspec_t)(channel) | WL_CHANSPEC_BW_5 | \ 147 #define CH10MHZ_CHSPEC(channel) (chanspec_t)((chanspec_t)(channel) | WL_CHANSPEC_BW_10 | \ 152 #define CH40MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 156 #define CH80MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 159 #define CH160MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 162 #define CHBW_CHSPEC(bw, channel) (chanspec_t)((chanspec_t)(channel) | (bw) | \ 371 (chanspec_t)((chanspec_t)(channel) | WL_LCHANSPEC_BW_20 | \ [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() 380 chanspec_t 383 chanspec_t chspec; in wf_chspec_aton() 642 wf_chspec_malformed(chanspec_t chanspec) in wf_chspec_malformed() 699 wf_chspec_valid(chanspec_t chanspec) in wf_chspec_valid() 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() 837 chanspec_t [all …]
|
| H A D | dhd_mschdbg.c | 97 chanspec_t c; in dhd_mschdbg_chanspec_list() 102 c = (chanspec_t)ntoh16(chanspec_list[i]); in dhd_mschdbg_chanspec_list() 284 chanspec_t c; in dhd_mschdbg_chan_ctxt_profiler_event_data() 297 c = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_chan_ctxt_profiler_event_data() 329 chanspec_t c; in dhd_mschdbg_req_entity_profiler_event_data() 359 c = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_req_entity_profiler_event_data() 570 chanspec_t chanspec; in dhd_mschdbg_dump_data() 575 chanspec = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_dump_data()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | bcmwifi_channels.h | 38 typedef uint16 chanspec_t; typedef 144 #define CH20MHZ_CHSPEC(channel) (chanspec_t)((chanspec_t)(channel) | WL_CHANSPEC_BW_20 | \ 149 #define CH40MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 153 #define CH80MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 156 #define CH160MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 355 chanspec_t chspec_local = chspec; \ 397 extern bool wf_chspec_coexist(chanspec_t chspec1, chanspec_t chspec2); 472 (chanspec_t)((chanspec_t)(channel) | WL_LCHANSPEC_BW_20 | \ 520 extern uint wf_bw_chspec_to_mhz(chanspec_t chspec); 533 extern char * wf_chspec_ntoa_ex(chanspec_t chspec, char *buf); [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() 387 chanspec_t 390 chanspec_t chspec; in wf_chspec_aton_ex() 619 chspec = (chanspec_t)(chspec_ch | chspec_band | chspec_bw | chspec_sb); in wf_chspec_aton_ex() 630 chanspec_t 643 wf_chspec_malformed(chanspec_t chanspec) in wf_chspec_malformed() 705 wf_chspec_valid(chanspec_t chanspec) in wf_chspec_valid() 798 wf_chspec_coexist(chanspec_t chspec1, chanspec_t chspec2) in wf_chspec_coexist() [all …]
|
| H A D | wl_roam.c | 51 chanspec_t chanspec; 159 chanspec_t chanspec; in set_roamscan_channel_list() 257 static bool is_duplicated_channel(const chanspec_t *channels, int n_channels, chanspec_t new) in is_duplicated_channel() 270 chanspec_t *channels, int n_channels, const wlc_ssid_t *ssid, int ioctl_ver) in get_roam_channel_list() 289 chanspec_t ch = roam_cache[i].chanspec; in get_roam_channel_list() 313 chanspec_t ch = roam_cache[i].chanspec; in get_roam_channel_list() 357 static void add_roamcache_channel(wl_roam_channel_list_t *channels, chanspec_t ch) in add_roamcache_channel() 418 chanspec_t ch = roam_cache[i].chanspec; in update_roam_cache() 465 chanspec_t ch = roam_cache[n].chanspec; in wl_update_roamscan_cache_by_band() 484 chanspec_t chspec = chanlist_before.channels[i]; in wl_update_roamscan_cache_by_band()
|
| H A D | dhd_mschdbg.c | 99 chanspec_t c; in dhd_mschdbg_chanspec_list() 104 c = (chanspec_t)ntoh16(chanspec_list[i]); in dhd_mschdbg_chanspec_list() 286 chanspec_t c; in dhd_mschdbg_chan_ctxt_profiler_event_data() 299 c = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_chan_ctxt_profiler_event_data() 331 chanspec_t c; in dhd_mschdbg_req_entity_profiler_event_data() 361 c = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_req_entity_profiler_event_data() 572 chanspec_t chanspec; in dhd_mschdbg_dump_data() 577 chanspec = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_dump_data()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | bcmwifi_channels.h | 38 typedef uint16 chanspec_t; typedef 147 #define CH20MHZ_CHSPEC(channel) (chanspec_t)((chanspec_t)(channel) | WL_CHANSPEC_BW_20 | \ 152 #define CH40MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 156 #define CH80MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 159 #define CH160MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 358 chanspec_t chspec_local = chspec; \ 401 extern bool wf_chspec_coexist(chanspec_t chspec1, chanspec_t chspec2); 476 (chanspec_t)((chanspec_t)(channel) | WL_LCHANSPEC_BW_20 | \ 530 extern uint wf_bw_chspec_to_mhz(chanspec_t chspec); 543 extern char * wf_chspec_ntoa_ex(chanspec_t chspec, char *buf); [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() 416 chanspec_t 419 chanspec_t chspec; in wf_chspec_aton_ex() 648 chspec = (chanspec_t)(chspec_ch | chspec_band | chspec_bw | chspec_sb); in wf_chspec_aton_ex() 659 chanspec_t 672 wf_chspec_malformed(chanspec_t chanspec) in wf_chspec_malformed() 754 wf_chspec_valid(chanspec_t chanspec) in wf_chspec_valid() 847 wf_chspec_coexist(chanspec_t chspec1, chanspec_t chspec2) in wf_chspec_coexist() [all …]
|
| H A D | wl_roam.c | 51 chanspec_t chanspec; 161 chanspec_t chanspec; in set_roamscan_channel_list() 260 static bool is_duplicated_channel(const chanspec_t *channels, int n_channels, chanspec_t new) in is_duplicated_channel() 273 chanspec_t *channels, int n_channels, const wlc_ssid_t *ssid, int ioctl_ver, in get_roam_channel_list() 294 chanspec_t ch = roam_cache[i].chanspec; in get_roam_channel_list() 322 chanspec_t ch = roam_cache[i].chanspec; in get_roam_channel_list() 368 static void add_roamcache_channel(wl_roam_channel_list_t *channels, chanspec_t ch) in add_roamcache_channel() 429 chanspec_t ch = roam_cache[i].chanspec; in update_roam_cache() 479 chanspec_t ch = roam_cache[n].chanspec; in wl_update_roamscan_cache_by_band() 499 chanspec_t chspec = chanlist_before.channels[i]; in wl_update_roamscan_cache_by_band()
|
| H A D | dhd_mschdbg.c | 99 chanspec_t c; in dhd_mschdbg_chanspec_list() 104 c = (chanspec_t)ntoh16(chanspec_list[i]); in dhd_mschdbg_chanspec_list() 286 chanspec_t c; in dhd_mschdbg_chan_ctxt_profiler_event_data() 299 c = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_chan_ctxt_profiler_event_data() 331 chanspec_t c; in dhd_mschdbg_req_entity_profiler_event_data() 361 c = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_req_entity_profiler_event_data() 572 chanspec_t chanspec; in dhd_mschdbg_dump_data() 577 chanspec = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_dump_data()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | bcmwifi_channels.h | 38 typedef uint16 chanspec_t; typedef 147 #define CH20MHZ_CHSPEC(channel) (chanspec_t)((chanspec_t)(channel) | WL_CHANSPEC_BW_20 | \ 152 #define CH40MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 156 #define CH80MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 159 #define CH160MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \ 358 chanspec_t chspec_local = chspec; \ 401 extern bool wf_chspec_coexist(chanspec_t chspec1, chanspec_t chspec2); 476 (chanspec_t)((chanspec_t)(channel) | WL_LCHANSPEC_BW_20 | \ 530 extern uint wf_bw_chspec_to_mhz(chanspec_t chspec); 543 extern char * wf_chspec_ntoa_ex(chanspec_t chspec, char *buf); [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() 416 chanspec_t 419 chanspec_t chspec; in wf_chspec_aton_ex() 648 chspec = (chanspec_t)(chspec_ch | chspec_band | chspec_bw | chspec_sb); in wf_chspec_aton_ex() 659 chanspec_t 672 wf_chspec_malformed(chanspec_t chanspec) in wf_chspec_malformed() 754 wf_chspec_valid(chanspec_t chanspec) in wf_chspec_valid() 847 wf_chspec_coexist(chanspec_t chspec1, chanspec_t chspec2) in wf_chspec_coexist() [all …]
|
| H A D | wl_roam.c | 51 chanspec_t chanspec; 161 chanspec_t chanspec; in set_roamscan_channel_list() 260 static bool is_duplicated_channel(const chanspec_t *channels, int n_channels, chanspec_t new) in is_duplicated_channel() 273 chanspec_t *channels, int n_channels, const wlc_ssid_t *ssid, int ioctl_ver, in get_roam_channel_list() 294 chanspec_t ch = roam_cache[i].chanspec; in get_roam_channel_list() 322 chanspec_t ch = roam_cache[i].chanspec; in get_roam_channel_list() 368 static void add_roamcache_channel(wl_roam_channel_list_t *channels, chanspec_t ch) in add_roamcache_channel() 429 chanspec_t ch = roam_cache[i].chanspec; in update_roam_cache() 479 chanspec_t ch = roam_cache[n].chanspec; in wl_update_roamscan_cache_by_band() 499 chanspec_t chspec = chanlist_before.channels[i]; in wl_update_roamscan_cache_by_band()
|
| H A D | dhd_mschdbg.c | 99 chanspec_t c; in dhd_mschdbg_chanspec_list() 104 c = (chanspec_t)ntoh16(chanspec_list[i]); in dhd_mschdbg_chanspec_list() 286 chanspec_t c; in dhd_mschdbg_chan_ctxt_profiler_event_data() 299 c = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_chan_ctxt_profiler_event_data() 331 chanspec_t c; in dhd_mschdbg_req_entity_profiler_event_data() 361 c = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_req_entity_profiler_event_data() 572 chanspec_t chanspec; in dhd_mschdbg_dump_data() 577 chanspec = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_dump_data()
|
| /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() 411 wf_chspec_240_id2cch(chanspec_t chanspec) in wf_chspec_240_id2cch() 447 wf_chspec_320_id2cch(chanspec_t chanspec) in wf_chspec_320_id2cch() 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() 591 chanspec_t 594 chanspec_t chspec; in wf_chspec_aton() 752 BCMPOSTTRAPFN(wf_chspec_malformed)(chanspec_t chanspec) in BCMPOSTTRAPFN() 754 wf_chspec_malformed(chanspec_t chanspec) in BCMPOSTTRAPFN() 857 wf_chspec_valid(chanspec_t chanspec) in wf_chspec_valid() [all …]
|
| H A D | wl_roam.c | 42 chanspec_t chanspec; 52 static void add_roamcache_channel(wl_roam_channel_list_t *channels, chanspec_t ch) in add_roamcache_channel() 113 chanspec_t ch = roam_cache[i].chanspec; in update_roam_cache() 160 add_roam_cache_list(uint8 *SSID, uint32 SSID_len, chanspec_t chanspec) in add_roam_cache_list() 205 static bool is_duplicated_channel(const chanspec_t *channels, int n_channels, chanspec_t new) in is_duplicated_channel() 217 int get_roam_channel_list(struct bcm_cfg80211 *cfg, chanspec_t target_chan, in get_roam_channel_list() 218 chanspec_t *channels, int n_channels, const wlc_ssid_t *ssid, int ioctl_ver) in get_roam_channel_list() 234 chanspec_t ch = roam_cache[i].chanspec; in get_roam_channel_list() 260 chanspec_t ch = roam_cache[i].chanspec; in get_roam_channel_list() 311 get_roamscan_chanspec_list(struct net_device *dev, chanspec_t *chanspecs) in get_roamscan_chanspec_list() [all …]
|
| H A D | wl_android_ext.h | 50 chanspec_t wl_ext_chspec_driver_to_host(struct dhd_pub *dhd, chanspec_t chanspec); 51 chanspec_t wl_ext_chspec_host_to_driver(struct dhd_pub *dhd, chanspec_t chanspec); 57 chanspec_t *ret_chspec);
|
| H A D | dhd_mschdbg.c | 105 chanspec_t c; in dhd_mschdbg_chanspec_list() 110 c = (chanspec_t)ntoh16(chanspec_list[i]); in dhd_mschdbg_chanspec_list() 292 chanspec_t c; in dhd_mschdbg_chan_ctxt_profiler_event_data() 305 c = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_chan_ctxt_profiler_event_data() 337 chanspec_t c; in dhd_mschdbg_req_entity_profiler_event_data() 367 c = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_req_entity_profiler_event_data() 578 chanspec_t chanspec; in dhd_mschdbg_dump_data() 583 chanspec = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_dump_data()
|
| /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() 411 wf_chspec_240_id2cch(chanspec_t chanspec) in wf_chspec_240_id2cch() 447 wf_chspec_320_id2cch(chanspec_t chanspec) in wf_chspec_320_id2cch() 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() 591 chanspec_t 594 chanspec_t chspec; in wf_chspec_aton() 752 BCMPOSTTRAPFN(wf_chspec_malformed)(chanspec_t chanspec) in BCMPOSTTRAPFN() 754 wf_chspec_malformed(chanspec_t chanspec) in BCMPOSTTRAPFN() 857 wf_chspec_valid(chanspec_t chanspec) in wf_chspec_valid() [all …]
|
| H A D | wl_roam.c | 42 chanspec_t chanspec; 52 static void add_roamcache_channel(wl_roam_channel_list_t *channels, chanspec_t ch) in add_roamcache_channel() 113 chanspec_t ch = roam_cache[i].chanspec; in update_roam_cache() 160 add_roam_cache_list(uint8 *SSID, uint32 SSID_len, chanspec_t chanspec) in add_roam_cache_list() 205 static bool is_duplicated_channel(const chanspec_t *channels, int n_channels, chanspec_t new) in is_duplicated_channel() 217 int get_roam_channel_list(struct bcm_cfg80211 *cfg, chanspec_t target_chan, in get_roam_channel_list() 218 chanspec_t *channels, int n_channels, const wlc_ssid_t *ssid, int ioctl_ver) in get_roam_channel_list() 234 chanspec_t ch = roam_cache[i].chanspec; in get_roam_channel_list() 260 chanspec_t ch = roam_cache[i].chanspec; in get_roam_channel_list() 311 get_roamscan_chanspec_list(struct net_device *dev, chanspec_t *chanspecs) in get_roamscan_chanspec_list() [all …]
|
| H A D | wl_android_ext.h | 50 chanspec_t wl_ext_chspec_driver_to_host(int ioctl_ver, chanspec_t chanspec); 51 chanspec_t wl_ext_chspec_host_to_driver(int ioctl_ver, chanspec_t chanspec); 56 chanspec_t *ret_chspec);
|
| H A D | dhd_mschdbg.c | 105 chanspec_t c; in dhd_mschdbg_chanspec_list() 110 c = (chanspec_t)ntoh16(chanspec_list[i]); in dhd_mschdbg_chanspec_list() 292 chanspec_t c; in dhd_mschdbg_chan_ctxt_profiler_event_data() 305 c = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_chan_ctxt_profiler_event_data() 337 chanspec_t c; in dhd_mschdbg_req_entity_profiler_event_data() 367 c = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_req_entity_profiler_event_data() 578 chanspec_t chanspec; in dhd_mschdbg_dump_data() 583 chanspec = (chanspec_t)ntoh16(p->chanspec); in dhd_mschdbg_dump_data()
|