|
@@ -31,16 +31,20 @@
|
|
* This function updates per peer per TID mesh latency related parameters.
|
|
* This function updates per peer per TID mesh latency related parameters.
|
|
*
|
|
*
|
|
* @param dest_mac - destination mac address
|
|
* @param dest_mac - destination mac address
|
|
- * @param service_interval - Service Interval per tid
|
|
|
|
- * @param burst_size - Burst size per tid
|
|
|
|
|
|
+ * @param service_interval_dl - Service Interval per tid on DL
|
|
|
|
+ * @param burst_size_dl - Burst size per tid on DL
|
|
|
|
+ * @param service_interval_ul - Service Interval per tid on UL
|
|
|
|
+ * @param burst_size_ul - Burst size per tid on UL
|
|
* @param priority - user priority combination of tid and msdu queue
|
|
* @param priority - user priority combination of tid and msdu queue
|
|
- * #add_or_sub - indicates to add or substract latency parameter
|
|
|
|
|
|
+ * @add_or_sub - indicates to add or subtract latency parameter
|
|
* @return - 0 for non error case, -1 for failure
|
|
* @return - 0 for non error case, -1 for failure
|
|
*/
|
|
*/
|
|
static inline QDF_STATUS
|
|
static inline QDF_STATUS
|
|
cdp_mesh_latency_update_peer_parameter(ol_txrx_soc_handle soc,
|
|
cdp_mesh_latency_update_peer_parameter(ol_txrx_soc_handle soc,
|
|
- uint8_t *dest_mac, uint32_t service_interval,
|
|
|
|
- uint32_t burst_size, uint16_t priority, uint8_t add_or_sub)
|
|
|
|
|
|
+ uint8_t *dest_mac, uint32_t service_interval_dl,
|
|
|
|
+ uint32_t burst_size_dl, uint32_t service_interval_ul,
|
|
|
|
+ uint32_t burst_size_ul, uint16_t priority,
|
|
|
|
+ uint8_t add_or_sub)
|
|
{
|
|
{
|
|
if (!soc || !soc->ops || !soc->ops->mesh_latency_ops) {
|
|
if (!soc || !soc->ops || !soc->ops->mesh_latency_ops) {
|
|
return 1;
|
|
return 1;
|
|
@@ -49,8 +53,9 @@ cdp_mesh_latency_update_peer_parameter(ol_txrx_soc_handle soc,
|
|
if (soc->ops->mesh_latency_ops->mesh_latency_update_peer_parameter)
|
|
if (soc->ops->mesh_latency_ops->mesh_latency_update_peer_parameter)
|
|
return soc->ops->mesh_latency_ops->
|
|
return soc->ops->mesh_latency_ops->
|
|
mesh_latency_update_peer_parameter(soc,
|
|
mesh_latency_update_peer_parameter(soc,
|
|
- dest_mac, service_interval,
|
|
|
|
- burst_size, priority, add_or_sub);
|
|
|
|
|
|
+ dest_mac, service_interval_dl,
|
|
|
|
+ burst_size_dl, service_interval_ul,
|
|
|
|
+ burst_size_ul, priority, add_or_sub);
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|