Home
last modified time | relevance | path

Searched refs:num_primary_channels (Results 1 – 4 of 4) sorted by relevance

/dports/net/hostapd-devel/hostap-14ab4a816/wpa_supplicant/
H A Drrm.c476 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, in wpas_add_channel() argument
481 for (i = 0; i < num_primary_channels; i++) { in wpas_add_channel()
482 u8 primary_chan = chan - (2 * num_primary_channels - 2) + i * 4; in wpas_add_channel()
508 u8 num_primary_channels, i; in wpas_add_channels() local
515 num_primary_channels = 4; in wpas_add_channels()
517 num_primary_channels = 8; in wpas_add_channels()
519 num_primary_channels = 1; in wpas_add_channels()
522 freqs = os_calloc(num_chans * num_primary_channels + 1, sizeof(*freqs)); in wpas_add_channels()
538 if (wpas_add_channel(op->op_class, chan, num_primary_channels, in wpas_add_channels()
544 next_freq += num_primary_channels; in wpas_add_channels()
/dports/security/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Drrm.c469 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, in wpas_add_channel() argument
474 for (i = 0; i < num_primary_channels; i++) { in wpas_add_channel()
475 u8 primary_chan = chan - (2 * num_primary_channels - 2) + i * 4; in wpas_add_channel()
501 u8 num_primary_channels, i; in wpas_add_channels() local
508 num_primary_channels = 4; in wpas_add_channels()
510 num_primary_channels = 8; in wpas_add_channels()
512 num_primary_channels = 1; in wpas_add_channels()
515 freqs = os_calloc(num_chans * num_primary_channels + 1, sizeof(*freqs)); in wpas_add_channels()
530 if (wpas_add_channel(op->op_class, chan, num_primary_channels, in wpas_add_channels()
536 next_freq += num_primary_channels; in wpas_add_channels()
/dports/security/wpa_supplicant-devel/hostap-14ab4a816/wpa_supplicant/
H A Drrm.c476 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, in wpas_add_channel() argument
481 for (i = 0; i < num_primary_channels; i++) { in wpas_add_channel()
482 u8 primary_chan = chan - (2 * num_primary_channels - 2) + i * 4; in wpas_add_channel()
508 u8 num_primary_channels, i; in wpas_add_channels() local
515 num_primary_channels = 4; in wpas_add_channels()
517 num_primary_channels = 8; in wpas_add_channels()
519 num_primary_channels = 1; in wpas_add_channels()
522 freqs = os_calloc(num_chans * num_primary_channels + 1, sizeof(*freqs)); in wpas_add_channels()
538 if (wpas_add_channel(op->op_class, chan, num_primary_channels, in wpas_add_channels()
544 next_freq += num_primary_channels; in wpas_add_channels()
/dports/net/wpa_supplicant_gui/wpa_supplicant-2.9/wpa_supplicant/
H A Drrm.c469 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, in wpas_add_channel() argument
474 for (i = 0; i < num_primary_channels; i++) { in wpas_add_channel()
475 u8 primary_chan = chan - (2 * num_primary_channels - 2) + i * 4; in wpas_add_channel()
501 u8 num_primary_channels, i; in wpas_add_channels() local
508 num_primary_channels = 4; in wpas_add_channels()
510 num_primary_channels = 8; in wpas_add_channels()
512 num_primary_channels = 1; in wpas_add_channels()
515 freqs = os_calloc(num_chans * num_primary_channels + 1, sizeof(*freqs)); in wpas_add_channels()
530 if (wpas_add_channel(op->op_class, chan, num_primary_channels, in wpas_add_channels()
536 next_freq += num_primary_channels; in wpas_add_channels()