• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: API for WiFi Wireless Multimedia (WMM) packet tagging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: API for WiFi Wireless Multimedia (WMM) packet tagging


  • Subject: Re: API for WiFi Wireless Multimedia (WMM) packet tagging
  • From: Terry Simons <email@hidden>
  • Date: Sat, 01 Dec 2012 11:54:37 -0800

Tim,

My understanding is that there is no explicit 802.11e API for managing the WMM queues.  The standard *NIX socket library calls to set TOS/DSCP are the userland API (setsockopt with IP_TOS), and the kernel automatically translates these into WMM queues for you via introspection, so the bits do get set when the frame goes out on the air.

It's not a 1:1 mapping, though, since there are 4 WMM queues, and more IP TOS/DSCP categories, so you'll need to experiment to figure out the mappings, but this might be a good starting point:

http://www.teldat.org/portal/downloadcenter/dateien/workshops/current_en/ws_wlan_html_en_HTML/vowlan_infra_qos_wmm.html

You can get a monitor mode sniff using the following command, then open the resulting sniff in Wireshark to examine and verify the WMM queues on your traffic:

sudo tcpdump -i en1 -s 0 -I -y IEEE802_11_RADIO -w filename.wcap

- Terry


On Sat, Dec 1, 2012 at 11:23 AM, Tim Hewett <email@hidden> wrote:
Terry,

Unfortunately the relevant standard (IEEE802.11e) specifies the feature as being implemented via bits in the WiFi MAC layer frames, not the IP layer packets. This necessarily requires an API if a user-space application wants to set specific options for its packets, it seems to me that MAC layer handling can only take place in kernel space.

Tim.


On 1 Dec 2012, at 18:27, Terry Simons <email@hidden> wrote:

> I believe setting the IP TOS bits appropriately will work.
>
> Sent from my iPhone
>
> On Dec 1, 2012, at 7:44 AM, Tim Hewett <email@hidden> wrote:
>
>> Is there an API for setting priority packets for WMM on a WiFi interface? Normal searches don't list anything, does MacOS overlook WMM or perhaps the API is private?
>>
>> Tim.
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Macnetworkprog mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >API for WiFi Wireless Multimedia (WMM) packet tagging (From: Tim Hewett <email@hidden>)
 >Re: API for WiFi Wireless Multimedia (WMM) packet tagging (From: Terry Simons <email@hidden>)
 >Re: API for WiFi Wireless Multimedia (WMM) packet tagging (From: Tim Hewett <email@hidden>)

  • Prev by Date: Re: API for WiFi Wireless Multimedia (WMM) packet tagging
  • Next by Date: Re: API for WiFi Wireless Multimedia (WMM) packet tagging
  • Previous by thread: Re: API for WiFi Wireless Multimedia (WMM) packet tagging
  • Next by thread: Re: API for WiFi Wireless Multimedia (WMM) packet tagging
  • Index(es):
    • Date
    • Thread