[PATCH] mac80211: use rhashtable for station table

2015-03-30 Thread Johannes Berg
From: Johannes Berg We currently have a hand-rolled table with 256 entries and are using the last byte of the MAC address as the hash. This hash is obviously very fast, but collisions are easily created and we waste a lot of space in the common case of just connecting as a client to an AP where w

Re: [PATCH] mac80211: use rhashtable for station table

2015-02-23 Thread Johannes Berg
Err, well, I need to rebase this patch on the changed rhashtable APIs in net-next :) WIP. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] mac80211: use rhashtable for station table

2015-02-23 Thread Johannes Berg
From: Johannes Berg We currently have a hand-rolled table with 256 entries and are using the last byte of the MAC address as the hash. This hash is obviously very fast, but collisions are easily created and we waste a lot of space in the common case of just connecting as a client to an AP where w