cozybit / wpa_supplicant-o11s-legacy

wpa_supplicant
Other
6 stars 10 forks source link

mac80211 doesn't report NL80211_FEATURE_SK_TX_STATUS #10

Open silverjam opened 10 years ago

silverjam commented 10 years ago

Issue by twpedersen from Monday May 13, 2013 at 23:27 GMT _Originally opened as https://github.com/cozybit/wpa_s_mesh_android/issues/1_


we currently have this hack

--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -2710,6 +2710,8 @@ broken_combination:

                if (flags & NL80211_FEATURE_SK_TX_STATUS)
                        info->data_tx_status = 1;
+               else
+                       info->data_tx_status = 1;

To force wpa_supplicant to use the nl80211 frame injection API, as opposed to needing a monitor interface. For some reason NL80211_FEATURE_SK_TX_STATUS is not set on android (no issues on pc using the same compat-drivers).

silverjam commented 10 years ago

Comment by silverjam from Tuesday Apr 22, 2014 at 21:32 GMT


This might be a bug with Android's libnl implementation? So, perhaps this isn't a wpa_s bug, and we need to do more investigation to isolate the root cause.