Alex Elder
f330fda331
net: ipa: header pad field only valid for AP->modem endpoint
...
Only QMAP endpoints should be configured to find a pad size field
within packet headers. They are found in the first byte of the QMAP
header (and the hardware fills only the 6 bits in that byte that
constitute the pad_len field).
The RMNet driver assumes the pad_len field is valid for received
packets, so we want to ensure the pad_len field is filled in that
case. That driver also assumes the length in the QMAP header
includes the pad bytes.
The RMNet driver does *not* pad the packets it sends, so the pad_len
field can be ignored.
Fix ipa_endpoint_init_hdr_ext() so it only marks the pad field
offset valid for QMAP RX endpoints, and in that case indicates
that the length field in the header includes the pad bytes.
Signed-off-by: Alex Elder <elder@linaro.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2020-06-11 18:39:08 -07:00
..
2020-06-06 11:01:58 -07:00
2020-06-04 19:47:11 -07:00
2020-06-02 15:29:19 -07:00
2020-06-07 10:53:36 -07:00
2020-06-05 14:05:57 -07:00
2020-06-03 16:27:18 -07:00
2020-06-07 10:59:32 -07:00
2020-06-03 16:27:18 -07:00
2020-06-07 10:59:32 -07:00
2020-06-07 10:59:32 -07:00
2020-05-23 00:03:25 +02:00
2020-05-28 10:31:10 +02:00
2020-06-04 19:56:20 -07:00
2020-06-05 12:39:30 -07:00
2020-06-10 17:05:02 -07:00
2020-06-04 19:06:23 -07:00
2020-05-15 16:25:20 +02:00
2020-05-28 18:02:40 +09:00
2020-05-19 22:26:01 +05:30
2020-06-02 15:04:15 -07:00
2020-06-01 11:39:15 +02:00
2020-05-29 17:36:02 +09:00
2020-06-07 10:59:32 -07:00
2020-06-07 10:59:32 -07:00
2020-05-13 17:30:31 +02:00
2020-06-07 09:42:16 -07:00
2020-06-07 09:52:36 -07:00
2020-06-03 22:23:52 +02:00
2020-06-03 15:00:05 -07:00
2020-05-28 07:59:45 -07:00
2020-06-07 10:59:32 -07:00
2020-06-05 14:00:30 -07:00
2020-06-07 10:45:08 -07:00
2020-06-05 14:05:57 -07:00
2020-06-05 12:39:30 -07:00
2020-05-22 09:14:03 +02:00
2020-06-06 11:43:23 -07:00
2020-05-15 16:32:20 +02:00
2020-06-01 09:48:52 +02:00
2020-06-04 11:03:45 -07:00
2020-06-02 15:29:19 -07:00
2020-06-05 12:39:30 -07:00
2020-06-05 15:45:03 -07:00
2020-06-03 20:59:38 -07:00
2020-05-28 14:18:11 +02:00
2020-06-05 14:00:30 -07:00
2020-06-07 10:59:32 -07:00
2020-06-07 10:59:32 -07:00
2020-06-02 15:29:19 -07:00
2020-06-11 18:39:08 -07:00
2020-06-01 12:00:10 -07:00
2020-06-05 20:02:09 -04:00
2020-05-27 05:21:23 -06:00
2020-06-05 14:05:57 -07:00
2020-05-27 11:09:26 +02:00
2020-06-07 10:53:36 -07:00
2020-06-07 10:59:32 -07:00
2020-06-06 11:01:58 -07:00
2020-06-06 11:01:58 -07:00
2020-06-01 15:18:27 -07:00
2020-05-25 13:28:20 +02:00
2020-06-07 16:13:43 -07:00
2020-06-04 10:54:45 -07:00
2020-05-15 18:20:49 +02:00
2020-06-04 19:47:11 -07:00
2020-05-25 10:59:29 +02:00
2020-05-19 00:10:35 +10:00
2020-05-25 17:55:17 -07:00
2020-06-04 19:06:26 -07:00
2020-06-01 13:01:44 +01:00
2020-06-07 10:59:32 -07:00
2020-06-07 16:11:23 -07:00
2020-06-05 15:11:50 -07:00
2020-05-17 12:46:10 -07:00
2020-06-05 15:11:50 -07:00
2020-05-15 16:21:08 +02:00
2020-06-07 10:59:32 -07:00
2020-05-20 19:24:55 +05:30
2020-06-07 10:59:32 -07:00
2020-06-07 10:45:08 -07:00
2020-06-05 15:11:50 -07:00
2020-05-28 12:38:00 +02:00
2020-06-07 09:42:16 -07:00
2020-06-07 17:11:41 -07:00
2020-05-15 16:13:19 +02:00
2020-06-07 09:42:16 -07:00
2020-06-05 13:51:49 -07:00
2020-06-05 15:11:50 -07:00
2020-06-05 12:39:30 -07:00
2020-05-27 12:18:49 +02:00
2020-06-04 10:50:22 -07:00