All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Kyeyoon Park <kyeyoonp@qca.qualcomm.com>
Cc: johannes@sipsolutions.net, jouni@qca.qualcomm.com,
	linux-wireless@vger.kernel.org
Subject: Re: [RFC] cfg80211/mac80211: Add support for Proxy ARP
Date: Thu, 15 May 2014 12:32:00 -0700	[thread overview]
Message-ID: <53751630.2030501@candelatech.com> (raw)
In-Reply-To: <1400180784-26008-1-git-send-email-kyeyoonp@qca.qualcomm.com>

On 05/15/2014 12:06 PM, Kyeyoon Park wrote:
> Proxy ARP allows the AP devices to keep track of the hardware address
> to IP address mapping of the STA devices within the BSS. When a request
> for such information is made (i.e. ARP request, Neighbor Solicitation),
> the AP will respond on behalf of the STA device within the BSS. Such
> requests could originate from a device within the BSS or also from the
> bridge. In the process of the AP replying to the request (i.e. ARP
> reply, Neighbor Advertisement), the AP will drop the original request
> frame. The relevant STA will not even know that such information was
> ever requested.
> 
> This feature is a requirement for Hotspot 2.0. This feature is defined
> in IEEE Std 802.11-2012, 10.23.13. This particular commit will
> eventually be split into two separate commits (cfg80211 and mac80211
> separately). This commit implements one part of the feature, dynamic
> IPv4 addresses and ARP. Additional commits will be made to support
> static IPv4 addresses and IPv6.
> 
> Signed-off-by: Kyeyoon Park <kyeyoonp@qca.qualcomm.com>

> +#define STA_IPV4_HASH_SIZE 32
> +#define STA_IPV4_HASH(ipv4) (((u8 *)&ipv4)[3] & 0x1F)

This should be a better hash I think.  Use an existing hash
method or at least mix in the higher bits manually?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


  reply	other threads:[~2014-05-15 19:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-15 19:06 [RFC] cfg80211/mac80211: Add support for Proxy ARP Kyeyoon Park
2014-05-15 19:32 ` Ben Greear [this message]
2014-05-16 23:04   ` Park, Kyeyoon
2014-05-19 15:58     ` Ben Greear
2014-05-16  9:16 ` Johannes Berg
2014-05-16 22:49   ` Park, Kyeyoon
2014-06-04 11:47     ` Johannes Berg
2014-06-04 13:42       ` Jouni Malinen
2014-06-04 13:46         ` Johannes Berg
2014-06-04 15:21           ` Luis R. Rodriguez
2018-02-16 12:53 ` Ujjal Roy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53751630.2030501@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=johannes@sipsolutions.net \
    --cc=jouni@qca.qualcomm.com \
    --cc=kyeyoonp@qca.qualcomm.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.