Searched refs:num_primary_channels (Results 1 – 1 of 1) sorted by relevance
476 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, in wpas_add_channel() argument481 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() local515 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()