[PATCH 4/4] Remove IEEE80211_HW_REPORTS_TX_ACK_STATUS

Kalle Valo kvalo at qca.qualcomm.com
Tue May 21 12:24:39 EDT 2013


wcn36xx doesn't currently report tx frame status back to mac80211 so we should
advertise the capability IEEE80211_HW_REPORTS_TX_ACK_STATUS either.

Oddly enough this also fixes my first association always fails on mako problem:

<6>[   25.474622] Loading modules backported from Linux version next-20130412-0-gd39d88d
<6>[   25.474866] Backport generated by backports.git 805b01f
<6>[   25.609797] cfg80211: Calling CRDA to update world regulatory domain
<4>[   25.829665] wcn36xx: WARNING Failed to read macaddress file wlan/macaddr0, using a random address instead
<6>[   25.830306] wcn36xx: mac0: 00:a0:c6:4a:1a:ef
<6>[   25.840836] wcnss_wlan triggered by userspace
<6>[   25.925041] wcn36xx: firmware WLAN version 'WCN v2.0 IRIS v2.0 with 48MHz XO' and CRM version 'AAAAAANAAW122023'
<6>[   25.925164] wcn36xx: firmware API 1.3.1.0, 12 stations, 2 bssids
<6>[   25.928734] ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[   28.041690] wlan0: authenticate with 00:03:7f:40:82:dd
<6>[   28.070929] wlan0: direct probe to 00:03:7f:40:82:dd (try 1/3)
<6>[   42.082862] adjust_soc: ibat_ua = -1000, vbat_uv = 4341018, soc = 100, batt_temp=323

Signed-off-by: Kalle Valo <kvalo at qca.qualcomm.com>
---
 main.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/main.c b/main.c
index 023fb71..446e1ce 100644
--- a/main.c
+++ b/main.c
@@ -435,10 +435,7 @@ static int wcn36xx_init_ieee80211(struct wcn36xx * wcn_priv)
 		IEEE80211_HW_SUPPORTS_PS |
 		IEEE80211_HW_SUPPORTS_DYNAMIC_PS |
 		IEEE80211_HW_AP_LINK_PS |
-		/* Need ?*/
-		IEEE80211_HW_REPORTS_TX_ACK_STATUS |
-		IEEE80211_HW_HAS_RATE_CONTROL |
-		IEEE80211_HW_REPORTS_TX_ACK_STATUS;
+		IEEE80211_HW_HAS_RATE_CONTROL;
 
 	wcn_priv->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION)|
 		BIT(NL80211_IFTYPE_AP);




More information about the wcn36xx mailing list