qcacld-3.0: Change NLA policy table for policy OFFLOADED_PACKETS
The current policy table for OFFLOADED_PACKETS is incorrect and does not match the uptream versions. Hence, rearrange the table contents with the proper parameters to fix this. Change-Id: I1e6b0ebc3ef4f622833778e0545d50783d524551 CRs-Fixed: 2701205
Tento commit je obsažen v:
@@ -9744,19 +9744,19 @@ static int hdd_unmap_req_id_to_pattern_id(struct hdd_context *hdd_ctx,
|
||||
|
||||
const struct nla_policy offloaded_packet_policy[
|
||||
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_MAX + 1] = {
|
||||
[QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_REQUEST_ID] = {.type = NLA_U32},
|
||||
[QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_SENDING_CONTROL] = {
|
||||
.type = NLA_U32},
|
||||
[QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_REQUEST_ID] = {.type = NLA_U32},
|
||||
[QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_IP_PACKET_DATA] = {
|
||||
.type = NLA_BINARY},
|
||||
[QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_SRC_MAC_ADDR] = {
|
||||
.type = NLA_BINARY,
|
||||
.len = QDF_MAC_ADDR_SIZE },
|
||||
[QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_SRC_MAC_ADDR] = {
|
||||
.type = NLA_BINARY,
|
||||
.len = QDF_MAC_ADDR_SIZE },
|
||||
[QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_DST_MAC_ADDR] = {
|
||||
.type = NLA_BINARY,
|
||||
.len = QDF_MAC_ADDR_SIZE },
|
||||
[QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_PERIOD] = {
|
||||
.type = NLA_U32},
|
||||
[QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_IP_PACKET_DATA] = {
|
||||
.type = NLA_BINARY},
|
||||
[QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_ETHER_PROTO_TYPE] = {
|
||||
.type = NLA_U16},
|
||||
};
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele