Add a vendor attribute for specifying ethernet protocol type
This new QCA vendor attribute adds provision to specify the ethernet protocol id from userspace to the packets which are offloaded to the driver/firmware (e.g., IPv4, IPv6). Signed-off-by: Arun Kumar Khandavalli <akhandav@codeaurora.org>
This commit is contained in:
parent
b1daf498a1
commit
d939a8cb49
1 changed files with 4 additions and 0 deletions
|
@ -4908,6 +4908,10 @@ enum qca_wlan_vendor_attr_offloaded_packets {
|
|||
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_DST_MAC_ADDR,
|
||||
/* Unsigned 32-bit value, in milli seconds */
|
||||
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_PERIOD,
|
||||
/* This optional unsigned 16-bit attribute is used for specifying
|
||||
* ethernet protocol type. If not specified ethertype defaults to IPv4.
|
||||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_ETHER_PROTO_TYPE,
|
||||
|
||||
/* keep last */
|
||||
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_AFTER_LAST,
|
||||
|
|
Loading…
Reference in a new issue