|
@@ -3529,34 +3529,42 @@ enum qca_wlan_vendor_attr_data_offload_ind {
|
|
|
QCA_WLAN_VENDOR_ATTR_DATA_OFFLOAD_IND_AFTER_LAST - 1
|
|
|
};
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
- * enum qca_wlan_vendor_attr_offloaded_packets - offloaded packets
|
|
|
- * @QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_INVALID: invalid
|
|
|
- * @QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_SENDING_CONTROL: control
|
|
|
- * @QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_REQUEST_ID: request id
|
|
|
- * @QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_IP_PACKET_DATA: ip packet data
|
|
|
- * @QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_SRC_MAC_ADDR: src mac address
|
|
|
- * @QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_DST_MAC_ADDR: destination mac address
|
|
|
- * @QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_PERIOD: period in milli seconds
|
|
|
- * @QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_AFTER_LAST: after last
|
|
|
- * @QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_MAX: max
|
|
|
+ * enum qca_wlan_vendor_attr_offloaded_packets - Used by the vendor command
|
|
|
+ * QCA_NL80211_VENDOR_SUBCMD_OFFLOADED_PACKETS.
|
|
|
*/
|
|
|
enum qca_wlan_vendor_attr_offloaded_packets {
|
|
|
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_INVALID = 0,
|
|
|
+ /*
|
|
|
+ * Takes valid value from the enum
|
|
|
+ * qca_wlan_offloaded_packets_sending_control
|
|
|
+ * Unsigned 32-bit value
|
|
|
+ **/
|
|
|
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_SENDING_CONTROL,
|
|
|
+ /* Unsigned 32-bit value */
|
|
|
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_REQUEST_ID,
|
|
|
-
|
|
|
- /* Packet in hex format */
|
|
|
+ /* array of u8 len: Max packet size */
|
|
|
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_IP_PACKET_DATA,
|
|
|
+ /* 6-byte MAC address used to represent source MAC address */
|
|
|
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_SRC_MAC_ADDR,
|
|
|
+ /* 6-byte MAC address used to represent destination MAC address */
|
|
|
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_DST_MAC_ADDR,
|
|
|
+ /* Unsigned 32-bit value, in milli seconds */
|
|
|
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_PERIOD,
|
|
|
+ /*
|
|
|
+ * This attribute is used and optional for specifying
|
|
|
+ * ethernet protocol type, if not specified it will default to ipv4
|
|
|
+ * Unsigned 16-bit value
|
|
|
+ **/
|
|
|
+ QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_ETHER_PROTO_TYPE,
|
|
|
|
|
|
/* keep last */
|
|
|
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_AFTER_LAST,
|
|
|
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_MAX =
|
|
|
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_AFTER_LAST - 1,
|
|
|
};
|
|
|
+
|
|
|
#endif
|
|
|
|
|
|
/**
|