]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: btcoex: 21a 2ant: add multiport action for p2p/miracast
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Sat, 15 Apr 2017 20:31:53 +0000 (15:31 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Apr 2017 07:25:43 +0000 (10:25 +0300)
commita59fdf65304c7c63c1b96c00af2b5f700d378cc5
tree0f91668edac3af107d81dcb987e049d0ad39e539
parentc6d5ffd5ec52f4ababadfd2e938e33b467e22908
rtlwifi: btcoex: 21a 2ant: add multiport action for p2p/miracast

For p2p/miracast, the wifi may have multiple ports for different roles.
Under this, we need extra settings for turning off the tdma and proper
coex table parameters.

We monnitor the number of links on a port to determine if it is for
p2p/miracast or not.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Pkshih <pkshih@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c