scsc: Add sysfs to enable/disable MAC randomisation
authorsunyue5 <sunyue5@motorola.com>
Thu, 24 Jan 2019 08:57:58 +0000 (16:57 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:38 +0000 (17:30 +0800)
commit3d94cf5485895ab4f619fd96d572409d59777ef6
treeb15778ba9dfc8f801c359a2c1cdb806372a313f9
parent07e8732b8401b3e32f9dd7468a17b7599c8b5278
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