Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c2686 struct mac80211_hwsim_data *hwsim = hw->priv; in mac80211_hwsim_get_survey() local
2688 if (idx < 0 || idx >= ARRAY_SIZE(hwsim->survey_data)) in mac80211_hwsim_get_survey()
2691 mutex_lock(&hwsim->mutex); in mac80211_hwsim_get_survey()
2692 survey->channel = hwsim->survey_data[idx].channel; in mac80211_hwsim_get_survey()
2694 mutex_unlock(&hwsim->mutex); in mac80211_hwsim_get_survey()
2709 jiffies_to_msecs(hwsim->survey_data[idx].end - in mac80211_hwsim_get_survey()
2710 hwsim->survey_data[idx].start); in mac80211_hwsim_get_survey()
2713 mutex_unlock(&hwsim->mutex); in mac80211_hwsim_get_survey()
2751 struct mac80211_hwsim_data *hwsim = hw->priv; in mac80211_hwsim_testmode_cmd() local
2769 return hwsim_fops_ps_write(hwsim, ps); in mac80211_hwsim_testmode_cmd()
[all …]
/openbmc/linux/Documentation/networking/mac80211_hwsim/
H A Dmac80211_hwsim.rst49 A global monitoring netdev, hwsim#, is created independent of