Lines Matching refs:chanspec_t
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);
546 extern char * wf_chspec_ntoa(chanspec_t chspec, char *buf);
555 extern chanspec_t wf_chspec_aton(const char *a);
565 extern chanspec_t wf_chspec_aton_ex(const char *a, const uint default_bw);
578 extern bool wf_chspec_malformed(chanspec_t chanspec);
587 extern bool wf_chspec_valid(chanspec_t chanspec);
600 extern uint8 wf_chspec_primary20_chan(chanspec_t chspec);
615 extern const char *wf_chspec_to_bw_str(chanspec_t chspec);
620 chanspec_t wf_create_20MHz_chspec(uint channel, chanspec_band_t band);
633 extern chanspec_t wf_chspec_primary20_chspec(chanspec_t chspec);
645 extern chanspec_t wf_chspec_primary40_chspec(chanspec_t chspec);
715 extern chanspec_t wf_chspec_80(uint8 center_channel, uint8 primary_channel);
746 extern chanspec_t wf_chspec_get8080_chspec(uint8 primary_20mhz,
758 extern uint8 wf_chspec_primary80_channel(chanspec_t chanspec);
768 extern uint8 wf_chspec_secondary80_channel(chanspec_t chanspec);
779 extern chanspec_t wf_chspec_primary80_chspec(chanspec_t chspec);
791 extern chanspec_t wf_chspec_secondary80_chspec(chanspec_t chspec);
798 extern void wf_chspec_get_80p80_channels(chanspec_t chspec, uint8 *ch);
805 extern uint8 wf_chspec_channel(chanspec_t chspec);
807 extern chanspec_t wf_channel_create_chspec_frm_opclass(uint8 opclass, uint8 channel);
808 extern int wf_channel_create_opclass_frm_chspec(chanspec_t chspec);
818 extern void wf_get_all_ext(chanspec_t chspec, uint8 *chan_ptr);
824 extern bool wf_chspec_overlap(chanspec_t chspec0, chanspec_t chspec1);
826 extern uint8 channel_bw_to_width(chanspec_t chspec);