2008-12-15 09:08:11

by Mark Ryden

[permalink] [raw]
Subject: power saving in mac80211

Hello,

I have two short questions about power saving in mac80211:

1) Is there support in the linux kernel for power saving when in AdHoc mode ?

According to the docs, announcement messages called ATIM
(announcement traffic indication messages) should be sent.
Yet, grepping under net/wireless/mac for atim does not find anything
(except one comment line in mlme.c).

2) As I find out from the docs, there should be no buffering for ordered frames.
When we handle multicast frames, there is a check for oredring;
In ieee80211_tx_h_multicast_ps_buf() there is a call to ieee80211_has_order()
and we do not buffer the packet when there is ordering.
On the other hand , when we handle unicast packets, there is no check
for ordering (see: ieee80211_tx_h_unicast_ps_buf()).

My question is: shouldn't we check ordering also for unicast packets?

Regards,
Mark