Home
last modified time | relevance | path

Searched refs:quota (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/tetheroffload/control/1.1/
DIOffloadControl.hal30 * The specified quota bytes must be applied to all traffic on the given upstream interface.
32 * traffic. IPv4 and IPv6 traffic both count towards the same quota. IP headers are included
33 * in the byte count quota, but, link-layer headers are not.
37 * offload is started. This is because the quota values would likely become stale over
44 * The specified quota bytes MUST replace any previous quotas set by
66 * Note that when one of the quota bytes is reached, the other one is still considered valid
69 * @param upstream Upstream interface name that quota must apply to.
70 * @param warningBytes The quota of warning, defined as the number of bytes, starting from
72 * @param limitBytes The quota of limit, defined as the number of bytes, starting from zero
75 * @return success true if quota is applied, false otherwise
Dtypes.hal23 * This event is fired when the quota, applied in setDataWarning, has expired. It is
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_OffloadManager.cpp527 wan_ioctl_set_data_quota quota; in setQuota() local
536 quota.quota_mbytes = mb; in setQuota()
537 quota.set_quota = true; in setQuota()
539 memset(quota.interface_name, 0, IFNAMSIZ); in setQuota()
540 if (strlcpy(quota.interface_name, upstream_name, IFNAMSIZ) >= IFNAMSIZ) { in setQuota()
546 IPACMDBG_H("SET_DATA_QUOTA %s %lu", quota.interface_name, mb); in setQuota()
548 if (ioctl(fd, WAN_IOC_SET_DATA_QUOTA, &quota) < 0) { in setQuota()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_OffloadManager.cpp614 wan_ioctl_set_data_quota quota; in setQuota() local
623 quota.quota_mbytes = mb; in setQuota()
624 quota.set_quota = true; in setQuota()
626 memset(quota.interface_name, 0, IFNAMSIZ); in setQuota()
627 if (strlcpy(quota.interface_name, upstream_name, IFNAMSIZ) >= IFNAMSIZ) { in setQuota()
633 IPACMDBG_H("SET_DATA_QUOTA %s %llu\n", quota.interface_name, (long long)mb); in setQuota()
635 rc = ioctl(fd, WAN_IOC_SET_DATA_QUOTA, &quota); in setQuota()
/hardware/qcom/wlan/wcn6740/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c253 uint32_t quota; member
5222 uint32_t if_index, quota; in wpa_driver_form_set_mcc_quota_msg() local
5266 quota = get_u32_from_string(cmd, &ret); in wpa_driver_form_set_mcc_quota_msg()
5274 if (quota < MCC_QUOTA_MIN || quota > MCC_QUOTA_MAX) { in wpa_driver_form_set_mcc_quota_msg()
5275 wpa_printf(MSG_ERROR, "mcc_quota: Invalid quota value %u", quota); in wpa_driver_form_set_mcc_quota_msg()
5280 mccquota[entry].quota = quota; in wpa_driver_form_set_mcc_quota_msg()
5333 ret = nla_put_u32(nlmsg, QCA_WLAN_VENDOR_ATTR_MCC_QUOTA_CHAN_TIME_PERCENTAGE, mccquota[i].quota); in wpa_driver_form_set_mcc_quota_msg()
/hardware/interfaces/tetheroffload/control/1.0/
DIOffloadControl.hal107 * management process is not expected to cache the value and apply the quota once offload is