summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-18staging: rtl8723au: Make rtw_is_same_ibss23a() return boolJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Get rid of IW_ESSID_MAX_SIZEJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: OnAuth23a(): Use ether_addr_copy()Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: rtw_stadel_event_callback23a(): Remove superfluous memset()Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: free_scanqueue(): Use _rtw_free_network23a()Jes Sorensen
Use _rtw_free_network23() so elements are freed in one place. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: collect_bss_info(): Don't memset() what we just kzalloc()'dJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Allocate struct wlan_bssid_ex in collect_bss_info()Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Do not embed struct wlan_bssid_ex in struct survey_eventJes Sorensen
Instead allocate it separately and reference it from survey_event. This will allow for us to pass it on later without having to copy it. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: rtw_survey_event_cb23a(): Use the correct types for the ↵Jes Sorensen
received arguments Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Declare rtw_update_scanned_network() staticJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: rtw_check_bcn_info23a(): Don't search for WPA/WPA2 info ↵Jes Sorensen
twice Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: rtw_check_bcn_info23a(): Don't make a local copy of ↵Jes Sorensen
beacon just to parse it In addition be consistent with return values and parsing them. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: rtw_check_bcn_info23a(): Use ether_addr_equal() to check ↵Jes Sorensen
BSSID Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Remove some unused 80211 header parsing macrosJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Remove unused #defines WEP_KEY_LEN and MGMT_QUEUE_NUMJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Remove duplicate defines of IEEE80211_HT_PARAM_CHA_SEC_*Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Remove obsolete rtw_set_fixed_ie23a()Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: issue_action_BA23a(): Use struct ieee80211_mgmt to build ↵Jes Sorensen
action frames Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: ioctl_cfg80211.c: Use struct ieee80211_mgmt to build ↵Jes Sorensen
mgmt frame Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Let cfg80211 handle public action management framesJes Sorensen
The driver shouldn't be dealing with public action management frames. Let these go directly to the cfg80211 layer which can defer them to userland if needed. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Do not xmit BSS Coexistence management action framesJes Sorensen
The driver should not be issuing BSS Coexistence management action frames when scanning. This isn't required by the spec, and if needed, these should come from wpa_s instead. Recommended by Johannes Berg. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: issue_action_BSSCoexistPacket(): Use struct ieee80211_mgmtJes Sorensen
This gets rid of the rtw_set_fixed_ie23a() usage here. Note that this abuses ieee80211_mgmt.u.action.u.chan_switch for now, since the correct defines are currently missing, and this one matches. Need to fix up the definitions in ieee80211.h and afterwards fix it up here. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: issue_action_spct_ch_switch23a(): Use struct ieee80211_mgmtJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: _issue_deauth(): Use struct ieee80211_mgmt to build frameJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: issue_assocrsp(): Use struct ieee80211_mgmt instead of ↵Jes Sorensen
rtw_set_fixed_ie23a() Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: issue_auth(): Convert to using struct ieee80211_mgmtJes Sorensen
This reduces the dependency of rtw_set_fixed_ie23a() which is scheduled to go away. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Make struct htpriv.ampdu_enable a boolJes Sorensen
Be consistent in parsing it's value Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Be consistent in how htpriv.ht_option is checkedJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Make struct ht_priv.ht_option a boolJes Sorensen
Match the return type of rtw_restructure_ht_ie23a() accordingly Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Remove WMM_ definesJes Sorensen
Only one is used, and only describes the size of an array defined in a local function. Use sizeof() in the local function to deobfuscate it. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: OnAssocRsp23a(): Use cfg80211_* to parse IEsJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Make WMM_param_handler23a() and HT_caps_handler23a() ↵Jes Sorensen
take a const u8 * Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Declare rtw_get_wpa{2, }_cipher_suite() staticJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Remove obsolete rtw_get_sec_ie23a()Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: rtw_wlan_util.c: Use cfg80211_* to determine cryptoJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: rtw_get_bcn_info23a(): Use cfg80211_* to obtain crypto infoJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: rtw_update_ht_cap23a(): Use correct mask when ↵Jes Sorensen
determining 40MHz channel location commit 4dc5f8bab2663b902b9cb0be29198dbbf38aa3fb Author: Jes Sorensen <Jes.Sorensen@redhat.com> Date: Tue May 27 13:43:12 2014 +0200 staging: rtl8723au: Eliminate struct HT_info_element Yet another duplicate version of struct ieee80211_ht_operation Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> introduced a bad error, applying the wrong value as the mask when determining the location of the 40MHz channel, effectively making it always determining it as not present. This caused hangs and delays when running in 40MHz channel mode. This should get it right. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: collect_bss_info23a(): ieee80211_mgmt capab_info is ↵Jes Sorensen
little endian Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: collect_bss_info23a(): Collect beacon_interval correctJes Sorensen
Only retrieve beacon_interval from frames where it is present. This avoids setting BeaconPeriod to garbage for other frame types. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Rewrite update_beacon23a_info() tto use cfg80211_find_ie()Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Remmove buddy-adapter linkingJes Sorensen
This sort of stuff should be handled by the bonding driver Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: rtw_check_bcn_info23a(): Use capability bit defineJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Don't carry ht_cap_info and ht_param in struct wlan_bcn_infoJes Sorensen
These were just stored to check whether the beacon info had changed and print a debug message in this case. If we ever need this again, we can determine this change differently. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Eliminate struct HT_info_elementJes Sorensen
Yet another duplicate version of struct ieee80211_ht_operation Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Use correct struct for WLAN_EID_HT_CAPABILITYJes Sorensen
WLAN_EID_HT_CAPABILITY carries a struct ieee80211_ht_operation - use the right struct instead of a self invented one. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Use struct ieee80211_ht_cap and associated #definesJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: Use struct ieee80211_mcs_info to describe MCS informationJes Sorensen
The original RTL code defined the MCS information as a 16 byte array and blindly applied it's masking over the full array, ignoring the fact that only the first 10 bytes describe the rx_mask and the rest are different fields. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: rtw_mlme.c: Remove some tab and parenthesis abuseJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-18staging: rtl8723au: rtw_mlme_ext.c: Fix up some of the bad formattingJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-17staging: usbip: usbip_host_driver.c: fix line over 80 charactersWahib Faizi
Fix coding style issue "line over 80 characters" detected by checkpatch.pl in usbip_host_driver.c. Signed-off-by: Wahib Faizi <wahibfaizi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>