hostapd-2.0/src/drivers/driver_nl80211.c
static int i802_set_freq(void *priv, struct hostapd_freq_params *freq)
{
	struct i802_bss *bss = priv;
	return wpa_driver_nl80211_set_freq(bss, freq->freq, freq->ht_enabled,
					   freq->sec_channel_offset);
}
/* Set kernel driver on given frequency (MHz) */
Set kernel driver on given frequency (MHz)
Set kernel driver on given frequency ( MHz )
static int i802_set_freq(void *priv, struct hostapd_freq_params *freq)
{
	struct i802_bss *bss = priv;
	return wpa_driver_nl80211_set_freq(bss, freq->freq, freq->ht_enabled,
					   freq->sec_channel_offset);
}
static int i802_set_freq ( void * priv , struct hostapd_freq_params * freq ) { struct i802_bss * bss = priv ; return wpa_driver_nl80211_set_freq ( bss , freq -> freq , freq -> ht_enabled , freq -> sec_channel_offset ) ; }
Set kernel driver on given frequency (MHz)
Set kernel driver on given frequency ( MHz )