Lines Matching refs:chanspec_t
28 typedef uint16 chanspec_t;
116 #define CH20MHZ_CHSPEC(channel) (chanspec_t)((chanspec_t)(channel) | WL_CHANSPEC_BW_20 | \
121 #define CH40MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \
125 #define CH80MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \
128 #define CH160MHZ_CHSPEC(channel, ctlsb) (chanspec_t) \
234 * These are the defines for the previous format of the chanspec_t
276 (chanspec_t)((chanspec_t)(channel) | WL_LCHANSPEC_BW_20 | \
324 extern char * wf_chspec_ntoa(chanspec_t chspec, char *buf);
333 extern chanspec_t wf_chspec_aton(const char *a);
346 extern bool wf_chspec_malformed(chanspec_t chanspec);
355 extern bool wf_chspec_valid(chanspec_t chanspec);
368 extern uint8 wf_chspec_ctlchan(chanspec_t chspec);
381 extern chanspec_t wf_chspec_ctlchspec(chanspec_t chspec);
390 extern chanspec_t wf_chspec_primary40_chspec(chanspec_t chspec);
460 extern chanspec_t wf_chspec_80(uint8 center_channel, uint8 primary_channel);
491 extern chanspec_t wf_chspec_get8080_chspec(uint8 primary_20mhz,
501 extern uint8 wf_chspec_primary80_channel(chanspec_t chanspec);
510 extern uint8 wf_chspec_secondary80_channel(chanspec_t chanspec);
515 extern chanspec_t wf_chspec_primary80_chspec(chanspec_t chspec);
522 extern uint8 wf_chspec_channel(chanspec_t chspec);