Lines Matching refs:hwsim
885 struct mac80211_hwsim_data *hwsim = hw->priv;
903 return hwsim_fops_ps_write(hwsim, ps);
909 NLA_PUT_U32(skb, HWSIM_TM_ATTR_PS, hwsim->ps);
949 * do because hwsim does transmission synchronously.
982 printk(KERN_DEBUG "hwsim hw_scan request\n");
984 printk(KERN_DEBUG "hwsim hw_scan freq %d\n",
994 struct mac80211_hwsim_data *hwsim = hw->priv;
996 mutex_lock(&hwsim->mutex);
998 if (hwsim->scanning) {
999 printk(KERN_DEBUG "two hwsim sw_scans detected!\n");
1003 printk(KERN_DEBUG "hwsim sw_scan request, prepping stuff\n");
1004 hwsim->scanning = true;
1007 mutex_unlock(&hwsim->mutex);
1012 struct mac80211_hwsim_data *hwsim = hw->priv;
1014 mutex_lock(&hwsim->mutex);
1016 printk(KERN_DEBUG "hwsim sw_scan_complete\n");
1017 hwsim->scanning = false;
1019 mutex_unlock(&hwsim->mutex);
1269 "hwsim%d", i);
1473 data->debugfs = debugfs_create_dir("hwsim",
1488 hwsim_mon = alloc_netdev(0, "hwsim%d", hwsim_mon_setup);