rtlwifi: btcoex: Add customer_id to do special deal to oem vendor
authorPing-Ke Shih <pkshih@realtek.com>
Tue, 6 Mar 2018 01:25:43 +0000 (09:25 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Mar 2018 08:54:43 +0000 (11:54 +0300)
Add customer_id field in structure, and then this is a clue to implement
the behavior defined by vendor LENOVO_CHINA.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h
drivers/net/wireless/realtek/rtlwifi/wifi.h

index f5d8159a88eb4d7d8168195ba66d61f6d8521c2e..3c6a1e8851ec0e159c34a4c701f5422ccc2c4ccb 100644 (file)
@@ -154,6 +154,7 @@ struct btc_board_info {
 
        u8 rfe_type;
        u8 ant_div_cfg;
+       u8 customer_id;
 };
 
 enum btc_dbg_opcode {
index 438678c2d14a759773f0ed45021726512dcc3a31..d27e33960e77fb32232df67fb706669464bb12e5 100644 (file)
@@ -556,6 +556,7 @@ enum rt_oem_id {
        RT_CID_NETGEAR = 36,
        RT_CID_PLANEX = 37,
        RT_CID_CC_C = 38,
+       RT_CID_LENOVO_CHINA = 40,
 };
 
 enum hw_descs {