From: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> Greg, Thanks for pushing my other changes to Linus. This set goes on top of the set I sent you on 2014/05/31 and the fix from 2014/06/03. If you prefer I go back and submit it all as one large set, let me know. This set contains a number of fixes, including getting rid of some 'on the wire' noise that isn't in the spec, plus removes a bunch of functionality which is handled by the 802.11 stack, and shouldn't be done within the driver. I hope there is still a change to get it all in through the 3.16 merge window? Thanks, Jes Jes Sorensen (76): staging: rtl8723au: rtw_get_wps_ie23a(): Remove unused dest pointer wps_ie staging: rtl8723au: rtw_mlme_ext.c: Convert rtw_get_wps_ie23a() to cfg80211_find_vendor_ie() staging: rtl8723au: rtw_mlme.c: Convert rtw_get_wps_ie23a() to cfg80211_find_vendor_ie() staging: rtl8723au: ioctl_cfg80211.c: Convert rtw_get_wps_ie23a() to cfg80211_find_vendor_ie() staging: rtl8723au: rtw_ap.c: Convert from rtw_get_wps_ie23a() to cfg80211_find_vendor_ie() staging: rtl8723au: Remove obsolete rtw_get_wps_ie23a() staging: rtl8723au: rtw_get_bcn_info23a(): Use cfg80211_* to obtain crypto info staging: rtl8723au: rtw_wlan_util.c: Use cfg80211_* to determine crypto staging: rtl8723au: Remove obsolete rtw_get_sec_ie23a() staging: rtl8723au: Declare rtw_get_wpa{2,}_cipher_suite() static staging: rtl8723au: Make WMM_param_handler23a() and HT_caps_handler23a() take a const u8 * staging: rtl8723au: OnAssocRsp23a(): Use cfg80211_* to parse IEs staging: rtl8723au: Remove WMM_ defines staging: rtl8723au: Make struct ht_priv.ht_option a bool staging: rtl8723au: Be consistent in how htpriv.ht_option is checked staging: rtl8723au: Make struct htpriv.ampdu_enable a bool staging: rtl8723au: issue_auth(): Convert to using struct ieee80211_mgmt staging: rtl8723au: issue_assocrsp(): Use struct ieee80211_mgmt instead of rtw_set_fixed_ie23a() staging: rtl8723au: Request correct firmware file for A-cut parts staging: rtl8723au: Reference correct firmwarefiles with MODULE_FIRMWARE() staging: rtl8723au: _issue_deauth(): Use struct ieee80211_mgmt to build frame staging: rtl8723au: issue_action_spct_ch_switch23a(): Use struct ieee80211_mgmt staging: rtl8723au: issue_action_BSSCoexistPacket(): Use struct ieee80211_mgmt staging: rtl8723au: Do not xmit BSS Coexistence management action frames staging: rtl8723au: Let cfg80211 handle public action management frames staging: rtl8723au: ioctl_cfg80211.c: Use struct ieee80211_mgmt to build mgmt frame staging: rtl8723au: issue_action_BA23a(): Use struct ieee80211_mgmt to build action frames staging: rtl8723au: Remove obsolete rtw_set_fixed_ie23a() staging: rtl8723au: Remove duplicate defines of IEEE80211_HT_PARAM_CHA_SEC_* staging: rtl8723au: Remove unused #defines WEP_KEY_LEN and MGMT_QUEUE_NUM staging: rtl8723au: Remove some unused 80211 header parsing macros staging: rtl8723au: rtw_check_bcn_info23a(): Use ether_addr_equal() to check BSSID staging: rtl8723au: rtw_check_bcn_info23a(): Don't make a local copy of beacon just to parse it staging: rtl8723au: rtw_check_bcn_info23a(): Don't search for WPA/WPA2 info twice staging: rtl8723au: Declare rtw_update_scanned_network() static staging: rtl8723au: rtw_survey_event_cb23a(): Use the correct types for the received arguments staging: rtl8723au: Do not embed struct wlan_bssid_ex in struct survey_event staging: rtl8723au: Allocate struct wlan_bssid_ex in collect_bss_info() staging: rtl8723au: collect_bss_info(): Don't memset() what we just kzalloc()'d staging: rtl8723au: free_scanqueue(): Use _rtw_free_network23a() staging: rtl8723au: rtw_stadel_event_callback23a(): Remove superfluous memset() staging: rtl8723au: OnAuth23a(): Use ether_addr_copy() staging: rtl8723au: Get rid of IW_ESSID_MAX_SIZE staging: rtl8723au: Make rtw_is_same_ibss23a() return bool staging: rtl8723au: cfg80211_rtw_connect(): Check correct return value from rtw_set_802_11_ssid23a() staging: rtl8723au: Fold rtw_set_802_11_authentication_mode23a() into cfg80211_rtw_connect() staging: rtl8723au: Move rtw_set_802_11_ssid23a() to ioctl_cfg80211.c staging: rtl8723au: cfg80211_rtw_connect(): Clean up various bits staging: rtl8723au: cfg80211_rtw_connect(): Remove obfuscating pointers staging: rtl8723au: cfg80211_rtw_connect(): Simplify ssid preparation staging: rtl8723au: Pass a struct wlan_network to rtw_set_ssid() staging: rtl8723au: rtw_set_ssid(): This is never called with _FW_UNDER_LINKING staging: rtl8723au: rtw_cfg80211_add_wep(): Use WLAN_KEY_LEN_* staging: rtl8723au: rtw_do_join23a(): Use correct error return values staging: rtl8723au: Minor debug message fixup staging: rtl8723au: Don't prepend debug console messages with 'ERROR ' staging: rtl8723au: Introduce rtw_select_candidate_from_queue() staging: rtl8723au: Introduce rtw_do_join_network() staging: rtl8723au: rtw_do_join23a(): Use __func__ to get function name in debug messages staging: rtl8723au: rtw_surveydone_event_callback23a(): Remove superfluous memset() staging: rtl8723au: Consolidate duplicate adhoc joining code into rtw_do_join_adhoc() staging: rtl8723au: Remove no-op rtw_get_encrypt_decrypt_from_registrypriv23a() staging: rtl8723au: to_join will no be true if _FW_LINKED is set staging: rtl8723au: rtw_surveydone_event_callback23a(): We always set _FW_UNDER_LINKING staging: rtl8723au: rtw_select_and_join_from_scanned_queue23a() never returns 2 staging: rtl8723au: rtw_set_ssid(): Use rtw_do_join_network() staging: rtl8723au: rtw_do_join23a(): Don't start scanning if network isn't found staging: rtl8723au: Move rtw_do_join23a() to rtw_mlme.c and declare it static staging: rtl8723au: rtw_get_cur_max_rate23a(): Remove duplicate fwstate checks staging: rtl8723au: rtw_get_cur_max_rate23a(): We are in N mode if WLAN_EID_HT_CAPABILITY is present staging: rtl8723au: Move rtw_get_cur_max_rate23a() to ioctl_cfg80211.c staging: rtl8723au: rtw_set_802_11_bssid23a_list_scan(): Use __func__ to print function name staging: rtl8723au: Don't run regular scans in the driver, the stack handles that staging: rtl8723au: Quiet unused variable warning when building with CONFIG_8723AU_AP_MODE=n staging: rtl8723au: Move FillH2CCmd() prototype to rtl8723a_cmd.h where it really belongs staging: rtl8723au: rtw_cfg80211_set_wpa_ie(): Avoid pointless memcpy drivers/staging/rtl8723au/Makefile | 1 - drivers/staging/rtl8723au/core/rtw_ap.c | 28 +- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 224 +----- drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 428 ----------- drivers/staging/rtl8723au/core/rtw_mlme.c | 305 ++++---- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 785 +++++++-------------- drivers/staging/rtl8723au/core/rtw_wlan_util.c | 163 ++--- .../staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 1 - drivers/staging/rtl8723au/hal/rtl8723a_cmd.c | 1 - drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 2 +- drivers/staging/rtl8723au/include/ieee80211.h | 55 +- drivers/staging/rtl8723au/include/ioctl_cfg80211.h | 3 - drivers/staging/rtl8723au/include/rtl8723a_cmd.h | 2 + drivers/staging/rtl8723au/include/rtw_debug.h | 2 +- drivers/staging/rtl8723au/include/rtw_event.h | 2 +- drivers/staging/rtl8723au/include/rtw_ht.h | 4 +- drivers/staging/rtl8723au/include/rtw_ioctl_set.h | 32 - drivers/staging/rtl8723au/include/rtw_mlme.h | 15 +- drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 7 +- drivers/staging/rtl8723au/include/wifi.h | 8 - drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 421 +++++++---- drivers/staging/rtl8723au/os_dep/mlme_linux.c | 1 - drivers/staging/rtl8723au/os_dep/os_intfs.c | 4 +- 23 files changed, 824 insertions(+), 1670 deletions(-) delete mode 100644 drivers/staging/rtl8723au/core/rtw_ioctl_set.c delete mode 100644 drivers/staging/rtl8723au/include/rtw_ioctl_set.h -- 1.9.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel