scsc: Add sysfs to enable/disable MAC randomisation
authorsunyue5 <sunyue5@motorola.com>
Thu, 24 Jan 2019 08:57:58 +0000 (16:57 +0800)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:36:54 +0000 (17:36 +0800)
commit649db902e97f8e61ccf0eadeb0c72a981f31afbe
tree7a5c12433b6c12a8acc12c45e5d87897904bd4b6
parent2f22b75a046d07a17b0ec4f2c07d446adc55a149
scsc: Add sysfs to enable/disable MAC randomisation

We need disable MAC randomisation for some test and debug
This change is to add a module parameter mac_randomisation_disabled
to enable/disable MAC randomisation.

Change-Id: I84a2f625ecb2f5c3a38b8041e909af1f8dfd8c18
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/1300264
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
drivers/net/wireless/scsc/cfg80211_ops.c
drivers/net/wireless/scsc/dev.c
drivers/net/wireless/scsc/dev.h
drivers/net/wireless/scsc/mlme.c
drivers/net/wireless/scsc/nl80211_vendor.c