diff options
author | Eliad Peller <eliad@wizery.com> | 2010-12-09 04:31:27 -0500 |
---|---|---|
committer | Luciano Coelho <luciano.coelho@nokia.com> | 2010-12-15 08:04:56 -0500 |
commit | c5312772156bb5f9b2e95e4c91526d578426a069 (patch) | |
tree | e79bf5435e4b084230a02cb3ae07b6ac25d3baf3 /drivers/net/wireless/wl12xx/cmd.h | |
parent | b69eb80bf7a6922fef8056d42b06124a7de31501 (diff) |
wl12xx: add auto-arp support
The auto-arp feature of wl12xx allows the firmware to automatically
response to arp requests asking for its ip.
in order to use it, we configure the arp response template and
enable the corresponding bit in wl1271_acx_arp_filter (along with
passing its ip)
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/cmd.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/cmd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/cmd.h b/drivers/net/wireless/wl12xx/cmd.h index 111d112544f..2a1d9db7ceb 100644 --- a/drivers/net/wireless/wl12xx/cmd.h +++ b/drivers/net/wireless/wl12xx/cmd.h | |||
@@ -51,6 +51,7 @@ int wl1271_cmd_build_probe_req(struct wl1271 *wl, | |||
51 | const u8 *ie, size_t ie_len, u8 band); | 51 | const u8 *ie, size_t ie_len, u8 band); |
52 | struct sk_buff *wl1271_cmd_build_ap_probe_req(struct wl1271 *wl, | 52 | struct sk_buff *wl1271_cmd_build_ap_probe_req(struct wl1271 *wl, |
53 | struct sk_buff *skb); | 53 | struct sk_buff *skb); |
54 | int wl1271_cmd_build_arp_rsp(struct wl1271 *wl, __be32 ip_addr); | ||
54 | int wl1271_build_qos_null_data(struct wl1271 *wl); | 55 | int wl1271_build_qos_null_data(struct wl1271 *wl); |
55 | int wl1271_cmd_build_klv_null_data(struct wl1271 *wl); | 56 | int wl1271_cmd_build_klv_null_data(struct wl1271 *wl); |
56 | int wl1271_cmd_set_default_wep_key(struct wl1271 *wl, u8 id); | 57 | int wl1271_cmd_set_default_wep_key(struct wl1271 *wl, u8 id); |
@@ -124,6 +125,7 @@ enum cmd_templ { | |||
124 | CMD_TEMPL_CTS, /* | 125 | CMD_TEMPL_CTS, /* |
125 | * For CTS-to-self (FastCTS) mechanism | 126 | * For CTS-to-self (FastCTS) mechanism |
126 | * for BT/WLAN coexistence (SoftGemini). */ | 127 | * for BT/WLAN coexistence (SoftGemini). */ |
128 | CMD_TEMPL_ARP_RSP, | ||
127 | CMD_TEMPL_MAX = 0xff | 129 | CMD_TEMPL_MAX = 0xff |
128 | }; | 130 | }; |
129 | 131 | ||