aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-04-03staging: rtl8192e: add proper SPDX identifiers on files that did not have them.Greg Kroah-Hartman1-13/+4
There were a few files for the rtl8192e driver that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-15staging: rtl8192e: fix various indentation issuesColin Ian King1-1/+1
There are several statements that have indentation issues, fix these. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-07staging: rtl8192e: reduce indentationJulia Lawall1-3/+3
Delete tab aligning a statement with the right hand side of a preceding assignment rather than the left hand side. Found with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06staging: rtl8192e: Add spaces around operators.Dafna Hirschfeld1-9/+9
Add spaces around arithmetic and bitwise operators to improve readability of the code. Issues found with checkpatch.pl Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06staging: rtl8192e: Remove unnecessary parenthesesDafna Hirschfeld1-3/+3
Remove unnecessary parentheses between 'address-of' operators and a struct members. Issues found with checkpatch.pl Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06staging: rtl8192e: Fix issues regarding blank linesDafna Hirschfeld1-27/+0
Fix multiple blank lines and blank lines after braces. Issues found with checkpatch.pl Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-23Staging: rtl8192e - fixed style of block commentsDerek Robson1-1/+1
Fixed style of block comment across whole driver Found using checkpatch Signed-off-by: Derek Robson <robsonde@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-21rtl8192e: Replace semaphore ips_sem with mutexBinoy Jayan1-8/+8
The semaphore 'ips_sem' in the rtl8192e is a simple mutex, so it should be written as one. Semaphores are going away in the future. Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-21rtl8192e: r8192_priv: Replace semaphore wx_sem with mutexBinoy Jayan1-52/+52
The semaphore 'wx_sem' in the r8192_priv is a simple mutex, so it should be written as one. Semaphores are going away in the future. Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-02staging: rtl8192e: rtl_wx: fix negative noise valueLuis de Bethencourt1-1/+1
wstats->qual.noise is of type uint8, so it shouldn't be assigned a negative number. Assigning it 0x100 - 100, which is the equivalent to -100 dBm when IW_QUAL_DBM is set. Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Tested-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Fix FSF_MAILING_ADDRESS warningsMateusz Kulikowski1-4/+0
Remove FSF address from licenses at the beginning of files. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Fix CONSTANT_COMPARISON warningsMateusz Kulikowski1-2/+2
Remove yoda conditions where pointed by checkpatch. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: rtl_wx: Fix BRACES warningMateusz Kulikowski1-5/+2
Fix checkpatch BRACES warning. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_encMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_enc to _rtl92e_wx_set_enc. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192se_wx_set_lps_awake_intervalMateusz Kulikowski1-4/+5
Use naming schema found in other rtlwifi devices. Rename r8192se_wx_set_lps_awake_interval to _rtl92e_wx_set_lps_awake_interval. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192se_wx_set_force_lpsMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192se_wx_set_force_lps to _rtl92e_wx_set_force_lps. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_get_wireless_statsMateusz Kulikowski1-2/+2
Use naming schema found in other rtlwifi devices. Rename r8192_get_wireless_stats to _rtl92e_get_wireless_stats. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename rtl8192_wx_get_rangeMateusz Kulikowski1-2/+2
Use naming schema found in other rtlwifi devices. Rename rtl8192_wx_get_range to _rtl92e_wx_get_range. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_wapMateusz Kulikowski1-5/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_wap to _rtl92e_wx_set_wap. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_sensMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_sens to _rtl92e_wx_set_sens. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_scan_typeMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_scan_type to _rtl92e_wx_set_scan_type. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_scanMateusz Kulikowski1-3/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_scan to _rtl92e_wx_set_scan. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_rtsMateusz Kulikowski1-5/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_rts to _rtl92e_wx_set_rts. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_retryMateusz Kulikowski1-2/+2
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_retry to _rtl92e_wx_set_retry. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_rawtxMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_rawtx to _rtl92e_wx_set_rawtx. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_rateMateusz Kulikowski1-6/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_rate to _rtl92e_wx_set_rate. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_PromiscuousModeMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_PromiscuousMode to _rtl92e_wx_set_promisc_mode. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_powerMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_power to _rtl92e_wx_set_power. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_nickMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_nick to _rtl92e_wx_set_nick. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_modeMateusz Kulikowski1-3/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_mode to _rtl92e_wx_set_mode. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_mlmeMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_mlme to _rtl92e_wx_set_mlme. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_gen_ieMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_gen_ie to _rtl92e_wx_set_gen_ie. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_freqMateusz Kulikowski1-3/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_freq to _rtl92e_wx_set_freq. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_fragMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_frag to _rtl92e_wx_set_frag. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_essidMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_essid to _rtl92e_wx_set_essid. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_enc_extMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_enc_ext to _rtl92e_wx_set_encode_ext. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_debugflagMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_debugflag to _rtl92e_wx_set_debug. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_set_authMateusz Kulikowski1-4/+5
Use naming schema found in other rtlwifi devices. Rename r8192_wx_set_auth to _rtl92e_wx_set_auth. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_get_wapMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_get_wap to _rtl92e_wx_get_wap. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_get_sensMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_get_sens to _rtl92e_wx_get_sens. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_get_scanMateusz Kulikowski1-3/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_get_scan to _rtl92e_wx_get_scan. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_get_rtsMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_get_rts to _rtl92e_wx_get_rts. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_get_retryMateusz Kulikowski1-2/+2
Use naming schema found in other rtlwifi devices. Rename r8192_wx_get_retry to _rtl92e_wx_get_retry. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_get_rateMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_get_rate to _rtl92e_wx_get_rate. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_get_PromiscuousModeMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_get_PromiscuousMode to _rtl92e_wx_get_promisc_mode. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_get_powerMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_get_power to _rtl92e_wx_get_power. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_get_nickMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_get_nick to _rtl92e_wx_get_nick. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_get_nameMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_get_name to _rtl92e_wx_get_name. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_get_modeMateusz Kulikowski1-3/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_get_mode to _rtl92e_wx_get_mode. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29staging: rtl8192e: Rename r8192_wx_get_gen_ieMateusz Kulikowski1-4/+4
Use naming schema found in other rtlwifi devices. Rename r8192_wx_get_gen_ie to _rtl92e_wx_get_gen_ie. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>