cozybit / wpa_s_mesh_android

Other
2 stars 1 forks source link

mac80211 doesn't report NL80211_FEATURE_SK_TX_STATUS #1

Closed twpedersen closed 10 years ago

twpedersen commented 11 years ago

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

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.

silverjam commented 10 years ago

logged in public repo https://github.com/cozybit/wpa_supplicant/issues