scsc: Add sysfs to enable/disable MAC randomisation
authorsunyue5 <sunyue5@motorola.com>
Thu, 24 Jan 2019 08:57:58 +0000 (16:57 +0800)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:54 +0000 (20:23 +0300)
commit22b1889d9c0a6cc2d34ce810a5c550e923edad0a
tree98c9559d7f39dea868bb8eae34afe41c4ed17ee9
parent14329b3ea41a480f38afd5dcd1717a5a6816329a
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