**【现象】:**hostapd启动失败:
10-18 12:40:56.155 4018 4018 E hostapd : debug, set loglevel
10-18 12:40:56.171 12 12 E : [12:40:56.160280] [000000010B4BAAE4] [hosta] wlan: [F :HDD] __wlan_hdd_cfg80211_get_txpower: Not in station context
10-18 12:40:56.171 12 12 E : [12:40:56.160606] [000000010B4BC360] [hosta] wlan: [F :HDD] __wlan_hdd_cfg80211_get_txpower: Not in station context
10-18 12:40:56.186 4018 4018 I hostapd : rfkill: Cannot open RFKILL control device
10-18 12:40:56.183 12 12 E : [12:40:56.172455] [000000010B4F3C01] [hosta] wlan: [F :HDD] __wlan_hdd_cfg80211_get_txpower: Not in station context
10-18 12:40:56.197 12 12 E : [12:40:56.186425] [000000010B5353C4] [hosta] wlan: [F :HDD] __wlan_hdd_cfg80211_get_txpower: Not in station context
10-18 12:40:56.201 4018 4018 E hostapd : Driver does not support configured HT capability [TX-STBC],conf = 0x8c,hw = 0x9032
10-18 12:40:56.201 4018 4018 I hostapd : wlan0: interface state UNINITIALIZED->DISABLED
10-18 12:40:56.201 4018 4018 I hostapd : wlan0: AP-DISABLED
10-18 12:40:56.201 4018 4018 E hostapd : wlan0: Unable to setup interface.
10-18 12:40:56.201 4018 4018 I hostapd : wlan0: interface state DISABLED->DISABLED
10-18 12:40:56.201 4018 4018 I hostapd : wlan0: AP-DISABLED
10-18 12:40:56.201 4018 4018 I hostapd : wlan0: CTRL-EVENT-TERMINATING
10-18 12:40:56.202 4018 4018 E hostapd : hostapd_free_hapd_data: Interface wlan0 wasn't started
10-18 12:40:56.202 4018 4018 I hostapd : nl80211: deinit ifname=wlan0 disabled_11b_rates=0
【原因分析】:
ucc下发参数生成的hostapd.conf配置:
hw_mode=g
driver=nl80211
ieee80211n=1
ht_capab=[TX-STBC]
interface=wlan0
channel=6
ctrl_interface=/data/vendor/</