Openwrt with custom frequency

hi there
i see in some forum they open 4900 - 6100 frequency in openwrt
my Q is it possible to do that with openwrt without legal or illegal
just is it possible to do it with openwrt ??!