确定wifi网卡是否支持hostap

ethtool  -i  wlan0
sudo iwconfig wlan0  mode  master 

输出:

Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.

表示不支持