1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2025-01-22 12:12:16 +00:00

Small cleanup in rf_types.h

This commit is contained in:
Christian kimocoder 2017-10-24 16:33:57 +02:00 committed by GitHub
parent 0402e2a32b
commit 32f5d18404

View File

@ -116,7 +116,6 @@ enum _REG_PREAMBLE_MODE {
PREAMBLE_SHORT = 3, PREAMBLE_SHORT = 3,
}; };
enum _RTL8712_RF_MIMO_CONFIG_ { enum _RTL8712_RF_MIMO_CONFIG_ {
RTL8712_RFCONFIG_1T = 0x10, RTL8712_RFCONFIG_1T = 0x10,
RTL8712_RFCONFIG_2T = 0x20, RTL8712_RFCONFIG_2T = 0x20,
@ -203,7 +202,7 @@ typedef enum _PROTECTION_MODE {
PROTECTION_MODE_FORCE_DISABLE = 2, PROTECTION_MODE_FORCE_DISABLE = 2,
} PROTECTION_MODE, *PPROTECTION_MODE; } PROTECTION_MODE, *PPROTECTION_MODE;
typedef enum _RT_RF_TYPE_DEFINITION { enum rt_rf_types {
RF_1T2R = 0, RF_1T2R = 0,
RF_2T4R = 1, RF_2T4R = 1,
RF_2T2R = 2, RF_2T2R = 2,
@ -215,7 +214,7 @@ typedef enum _RT_RF_TYPE_DEFINITION {
RF_4T4R = 8, RF_4T4R = 8,
RF_MAX_TYPE = 0xF, /* u1Byte */ RF_MAX_TYPE = 0xF, /* u1Byte */
} RT_RF_TYPE_DEF_E; };
int rtw_ch2freq(int chan); int rtw_ch2freq(int chan);
int rtw_freq2ch(int freq); int rtw_freq2ch(int freq);