Search Linux Wireless

Re: [mac80211] 802.11 data packets Rx and Tx from user space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 14, 2013 at 8:31 PM, shankar swaminathan <shankswa@xxxxxxxxx> wrote:
> Hi,
>
> I had earlier posted a query specific to the rx path of mac80211.
> Here is a more complete set of two queries.
> Kindly help clarifying.
>
> I am working on building a PC based Access Point in linux and have the
> following queries:
>
> 1. Is there a mechanism for user space to receive 802.11 data packets
> with the 802.11 header intact. I do not want to use a monitor
> interface as I believe a monitor interface cannot be used to connect
> wireless clients. Please clarify.

If you want 802.11 header monitor interface is the only way (at least to
my knowledge), you can use 2 VIF's one for connection and one for
monitoring. Most chipsets support this.
>
> 2. From user space can i transmit a fully constructed 802.11 data
> frame. Will RAW sockets over WiFi work? I have not tried though.
You can use pcap API's, but you still need the monitor interface
(use 2VIF's as above)

http://wireless.kernel.org/en/users/Documentation/packetspammer
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux