mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
staging: wlan-ng: rename DIDmib_dot11phy_dot11PhyTxPowerTable_dot11CurrentTxPowerLevel in p80211metadef.h
Rename DIDmib_dot11phy_dot11PhyTxPowerTable_dot11CurrentTxPowerLevel in p80211metadef.h to DIDMIB_DOT11PHY_TXPOWERTABLE_CURRENTTXPOWERLEVEL to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" and "DOT11PHY" to ease readability and reduce long lines. Signed-off-by: Tim Collier <osdevtc@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
88e3676ad5
commit
c9a89f4e7a
3 changed files with 4 additions and 4 deletions
|
@ -595,7 +595,7 @@ static int prism2_set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev,
|
||||||
data = MBM_TO_DBM(mbm);
|
data = MBM_TO_DBM(mbm);
|
||||||
|
|
||||||
result = prism2_domibset_uint32(wlandev,
|
result = prism2_domibset_uint32(wlandev,
|
||||||
DIDmib_dot11phy_dot11PhyTxPowerTable_dot11CurrentTxPowerLevel,
|
DIDMIB_DOT11PHY_TXPOWERTABLE_CURRENTTXPOWERLEVEL,
|
||||||
data);
|
data);
|
||||||
|
|
||||||
if (result) {
|
if (result) {
|
||||||
|
@ -620,7 +620,7 @@ static int prism2_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev,
|
||||||
mibitem = (struct p80211item_uint32 *)&msg.mibattribute.data;
|
mibitem = (struct p80211item_uint32 *)&msg.mibattribute.data;
|
||||||
msg.msgcode = DIDMSG_DOT11REQ_MIBGET;
|
msg.msgcode = DIDMSG_DOT11REQ_MIBGET;
|
||||||
mibitem->did =
|
mibitem->did =
|
||||||
DIDmib_dot11phy_dot11PhyTxPowerTable_dot11CurrentTxPowerLevel;
|
DIDMIB_DOT11PHY_TXPOWERTABLE_CURRENTTXPOWERLEVEL;
|
||||||
|
|
||||||
result = p80211req_dorequest(wlandev, (u8 *)&msg);
|
result = p80211req_dorequest(wlandev, (u8 *)&msg);
|
||||||
|
|
||||||
|
|
|
@ -206,7 +206,7 @@
|
||||||
#define DIDMIB_DOT11PHY_OPERATIONTABLE \
|
#define DIDMIB_DOT11PHY_OPERATIONTABLE \
|
||||||
(P80211DID_MKSECTION(3) | \
|
(P80211DID_MKSECTION(3) | \
|
||||||
P80211DID_MKGROUP(1))
|
P80211DID_MKGROUP(1))
|
||||||
#define DIDmib_dot11phy_dot11PhyTxPowerTable_dot11CurrentTxPowerLevel \
|
#define DIDMIB_DOT11PHY_TXPOWERTABLE_CURRENTTXPOWERLEVEL \
|
||||||
(P80211DID_MKSECTION(3) | \
|
(P80211DID_MKSECTION(3) | \
|
||||||
P80211DID_MKGROUP(3) | \
|
P80211DID_MKGROUP(3) | \
|
||||||
P80211DID_MKITEM(10) | 0x18000000)
|
P80211DID_MKITEM(10) | 0x18000000)
|
||||||
|
|
|
@ -210,7 +210,7 @@ static struct mibrec mibtab[] = {
|
||||||
F_STA | F_READ,
|
F_STA | F_READ,
|
||||||
HFA384x_RID_CURRENTCHANNEL, 0, 0,
|
HFA384x_RID_CURRENTCHANNEL, 0, 0,
|
||||||
prism2mib_uint32},
|
prism2mib_uint32},
|
||||||
{DIDmib_dot11phy_dot11PhyTxPowerTable_dot11CurrentTxPowerLevel,
|
{DIDMIB_DOT11PHY_TXPOWERTABLE_CURRENTTXPOWERLEVEL,
|
||||||
F_STA | F_READ | F_WRITE,
|
F_STA | F_READ | F_WRITE,
|
||||||
HFA384x_RID_TXPOWERMAX, 0, 0,
|
HFA384x_RID_TXPOWERMAX, 0, 0,
|
||||||
prism2mib_uint32},
|
prism2mib_uint32},
|
||||||
|
|
Loading…
Reference in a new issue