summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-25staging: rtl8723au: rtw_mlme_ext.c: Remove CONFIG_8723AU_BT_COEXIST #ifdefsJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: rtw_pwrctrl.c: Eliminate CONFIG_8723AU_BT_COEXIST #ifdefsJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: rtw_pwrctrl.c: Remove an unnecessary COEXIST #ifdefJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: rtw_cmd.c: Remove last #ifdef CONFIG_8723AU_BT_COEXIST usageJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Rename BT_LpsLeave() rtl8723a_BT_lps_leave()Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Rename BTDM_ForDhcp() to rtl8723a_BT_specialpacket_notify()Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Rename BT_WifiMediaStatusNotify() ↵Jes Sorensen
rtl8723a_BT_mediastatus_notify() Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Rename BT_WifiScanNotify() rtl8723a_BT_wifiscan_notify()Jes Sorensen
Providing a dummy wrapper also allows removing some more CONFIG_8723AU_BT_COEXIST clutter Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Rename BTDM_Coexist() to rtl8723a_BT_do_coexist()Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Remove some CONFIG_8723AU_BT_COEXIST clutterJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Introduce rtl8723a_BT_coexist() - and use it!Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Convert BT_IsBtDisabled() into rtl8723a_BT_enabled()Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Create rtl8723au_bt_intf.hJes Sorensen
Use this header for declaring functions that are currently #ifdef'ed out in the general code. Start by moving BTDM_1Ant8723A() there and renaming it appropriately. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: PS_RDY_CHECK() return bools in 'bool'Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: _rtw_pwr_wakeup23a(): Do not mix _FAIL/false as return valueJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: bInternalAutoSuspend is always falseJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Remove unused prototype ↵Jes Sorensen
rtw_cfg80211_issue_p2p_provision_request23a() Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: rtw_wdev_alloc(): Don't register wiphy before kmalloc() ↵Jes Sorensen
completed There is no point starting to register the wiphy and then having to unregister it again if the followon kmalloc() fails. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Remove some pointless cfg80211_* wrapper macrosJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: struct rtw_wdev_priv: Remove some never 'true' variablesJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Get rid of unused struct rtw_wdev_invit_infoJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: _cfg80211_rtw_mgmt_tx() clean up checking function ↵Jes Sorensen
return values Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Delete unused rtw_cfg80211_set_mgnt_wpsp2pie()Jes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: ioctl_cfg80211.c: Use ether_addr_equal()Jes Sorensen
... and in one case use is_zero_ether_addr() Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: ioctl_cfg80211.c: 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-05-25staging: rtl8723au: Do not call netdev_open23a() from ↵Jes Sorensen
cfg80211_rtw_change_iface() Calling open on the device when changing the interface type is wrong. Let the stack call open at the right time. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Remove unused struct hostapd_privJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: rtw_mlme.h: Remove a bunch of unused structsJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Remove unused enum SCAN_RESULT_TYPEJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Don't check check_fwstate() == falseJes Sorensen
In addition, remove a followon check for false just after having checked for true. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Make check_fwstate() return boolJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: Don't explicitly check check_fwstate() == trueJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: rtw_xmit.c: 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-05-25staging: rtl8723au: Use ieee80211.h defines for IV/ICV len valuesJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8723au: ieee80211.h: Remove some unused #definesJes Sorensen
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: vt6656: MACvSetKeyEntry create structure to write keyMalcolm Priestley
Create structure for wKeyCtl , pbyAddr and pbyKey wKeyCtl(key_ctl) and pbyAddr(addr) form an union of 64 bits with swap of two 32 bits. pbyKey(key) has a length of WLAN_KEY_LEN_CCMP(16) bytes. swap is needed because high order 32 bits needs to written out first. pbyKey is memcpy on to key. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: vt6656: s_vFillTxKey fix indentation of memcpyMalcolm Priestley
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: vt6656: s_uGetRTSCTSRsvTime fix word lenghtMalcolm Priestley
Correct to length Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: vt6656: BBbVT3184Init fix word lenghtMalcolm Priestley
Correct to length Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: vt6656: baseband.c replace DBG_PRT debug messagesMalcolm Priestley
Replace with dev_dbg Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: vt6656: card.c replace DBG_PRT debug messages.Malcolm Priestley
Replace with dev_dbg Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging; vt6656: swGetCCKControlRate remove camel caseMalcolm Priestley
camel case changes pDevice -> priv wRateIdx -> rate_idx Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: vt6656: swGetOFDMControlRate remove camel caseMalcolm Priestley
camel case changes pDevice -> priv wRateIdx -> rate_idx Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: dgnc: Use time_after_eq()Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_after_eq() instead of plain, error-prone math. Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25Staging: rtl8192u: r819xU_firmware_img.c Fixed checkpatch.pl ERRORsChaitanya Hazarey
Fixed a lot of errors of the type "ERROR: space required after that ',' (ctx:VxV)" Added tabs at the beginning of line. Signed-off-by: Chaitanya Hazarey <c@24.io> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8188eu: use time_before/time_after and change type of ips_deny_timeManuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_before/_after() instead of plain, error-prone math. To suppress compiler warnings the type of ips_deny_time was changed. Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8821ae: add static for local symbols in rtl_btc.cKonrad Zapalowicz
This commit fixes the sparse warning: "warning: symbol 'X' was not declared. Should it be static?" Where the X is one of the following rtl_btc_operation Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8821ae: deal with unused functions in halbtcoutsrc.cKonrad Zapalowicz
This commit fixes the compiler -Wunused-function warning. Several functions had to be removed. Removed symbols halbtc_is_hw_mailbox_exist halbtc_set_macreg halbtc_get_macreg halbtc_under_ips Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8821ae: add static for local symbols in halbtcoutsrc.cKonrad Zapalowicz
This commit fixes the sparse warning: "warning: symbol 'X' was not declared. Should it be static?" Where the X is one of the following: bt_profile_string bt_spec_string bt_link_role_string h2c_state_string io_state_string btc_dbg_buf halbtc_is_bt_coexist_available halbtc_is_wifi_busy halbtc_dbg_init halbtc_is_hw_mailbox_exist halbtc_is_bt40 halbtc_legacy halbtc_get_wifi_bw halbtc_get_wifi_central_chnl halbtc_leave_lps halbtc_enter_lps halbtc_normal_lps halbtc_leave_low_power halbtc_nomal_low_power halbtc_disable_low_power halbtc_aggregation_check halbtc_get_bt_patch_version halbtc_get_wifi_rssi halbtc_get halbtc_set halbtc_display_coex_statistics halbtc_display_bt_link_info halbtc_display_bt_fw_info halbtc_display_fw_pwr_mode_cmd halbtc_read_1byte halbtc_read_2byte halbtc_read_4byte halbtc_write_1byte halbtc_bitmask_write_1byte halbtc_write_2byte halbtc_write_4byte halbtc_set_macreg halbtc_get_macreg halbtc_set_bbreg halbtc_get_bbreg halbtc_set_rfreg halbtc_get_rfreg halbtc_fill_h2c_cmd halbtc_display_dbg_msg halbtc_under_ips Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25staging: rtl8821ae: deal with unused functions in halbtc8723b2ant.cKonrad Zapalowicz
This commit fixes the compiler -Wunused-function warning. It was enough to put #define around them to supress this warning. One was a special case because it's usage was commented-out therefore, as I did not want to remove it completely, I disabled it with #if 0 Conditionally compiled symbols halbtc8723b2ant_monitor_bt_enable_disable halbtc8723b2ant_set_bt_auto_report halbtc8723b2ant_bt_auto_report Disabled symbols halbtc8723b2ant_adc_backoff halbtc8723b2ant_set_adc_backoff Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>