Updated Enable 802.11mc FTM on Intel 8260 (markdown)
parent
0c53e6142d
commit
01bc2ce617
|
|
@ -24,6 +24,22 @@ $ git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwl
|
|||
$ cd backport-iwlwifi
|
||||
$ make defconfig-iwlwifi-public
|
||||
$ sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config
|
||||
```
|
||||
Before make, we need to change the code so that FTM responder mode is enabled (thanks to Mohamed Ibrahim). Locate `nl80211_start_ap` function in `net/wireless/nl80211.c`, and make the following change:
|
||||
```
|
||||
static int nl80211_start_ap(struct sk_buff *skb, struct genl_info *info)
|
||||
{
|
||||
...
|
||||
kfree(params.acl);
|
||||
|
||||
+ nl80211_start_ftm_responder(skb, info);
|
||||
+
|
||||
return err;
|
||||
}
|
||||
```
|
||||
Also move the entire `static int nl80211_start_ftm_responder(struct sk_buff *skb, struct genl_info *info)` function above `nl80211_start_ap`.
|
||||
We are now ready to make & install:
|
||||
```
|
||||
$ make -j4
|
||||
$ sudo make install
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue