Home
last modified time | relevance | path

Searched refs:hwsim (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/wireless/
Dmac80211_hwsim.c1864 struct mac80211_hwsim_data *hwsim = hw->priv; in mac80211_hwsim_get_survey() local
1866 if (idx < 0 || idx >= ARRAY_SIZE(hwsim->survey_data)) in mac80211_hwsim_get_survey()
1869 mutex_lock(&hwsim->mutex); in mac80211_hwsim_get_survey()
1870 survey->channel = hwsim->survey_data[idx].channel; in mac80211_hwsim_get_survey()
1872 mutex_unlock(&hwsim->mutex); in mac80211_hwsim_get_survey()
1887 jiffies_to_msecs(hwsim->survey_data[idx].end - in mac80211_hwsim_get_survey()
1888 hwsim->survey_data[idx].start); in mac80211_hwsim_get_survey()
1891 mutex_unlock(&hwsim->mutex); in mac80211_hwsim_get_survey()
1929 struct mac80211_hwsim_data *hwsim = hw->priv; in mac80211_hwsim_testmode_cmd() local
1947 return hwsim_fops_ps_write(hwsim, ps); in mac80211_hwsim_testmode_cmd()
[all …]
/Linux-v5.4/Documentation/networking/mac80211_hwsim/
Dmac80211_hwsim.rst49 A global monitoring netdev, hwsim#, is created independent of