Searched refs:num_primary_channels (Results 1 – 1 of 1) sorted by relevance
418 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, in wpas_add_channel() argument423 for (i = 0; i < num_primary_channels; i++) { in wpas_add_channel()424 u8 primary_chan = chan - (2 * num_primary_channels - 2) + i * 4; in wpas_add_channel()450 u8 num_primary_channels, i; in wpas_add_channels() local457 num_primary_channels = 4; in wpas_add_channels()459 num_primary_channels = 8; in wpas_add_channels()461 num_primary_channels = 1; in wpas_add_channels()464 freqs = os_calloc(num_chans * num_primary_channels + 1, sizeof(*freqs)); in wpas_add_channels()479 if (wpas_add_channel(op->op_class, chan, num_primary_channels, in wpas_add_channels()485 next_freq += num_primary_channels; in wpas_add_channels()